aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-03 11:50:01 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-03 11:50:01 -0500
commit0438a1e5feebaf060de0615c1f9887991d4a9bce (patch)
treea690ff5ad97c3d437db5b2694d5f8d8da8112939 /examples
parent4db871265124e9510321ca70d50adfa3d8487b9c (diff)
Don't use ˜ as constant
Diffstat (limited to 'examples')
-rw-r--r--examples/fifty.bqn4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/fifty.bqn b/examples/fifty.bqn
index c4612415..c991aae9 100644
--- a/examples/fifty.bqn
+++ b/examples/fifty.bqn
@@ -41,7 +41,7 @@ ParenthesesNesting ← +`1‿¯1‿0⊏˜"()"⊐⊢
}
# 6
-PerfectShuffle ← ⊢⊏˜·⍋∘⍒≠⥊0‿1˜
+PerfectShuffle ← ⊢⊏˜·⍋∘⍒≠⥊0‿1˙
! "IAJBKCLDMENFOGPHQ" ≡ PerfectShuffle "ABCDEFGHIJKLMNOPQ"
# 7
@@ -177,7 +177,7 @@ _pow ← {𝔽´𝔽˜⍟(/2|⌊∘÷⟜2⍟(↕1+·⌊2⋆⁼⊢)𝕩)𝕨}
! 847288609443 ≡ 3 ×_pow 25
# 38
-Hanoi ← {¯1↓(⥊⊢≍⎉0˜≠⥊⊑⊑⟨1‿5‿2⋄0‿3‿4⟩˜)⍟𝕩⥊1}
+Hanoi ← {¯1↓(⥊⊢≍⎉0˜≠⥊⊑⊑⟨1‿5‿2⋄0‿3‿4⟩˙)⍟𝕩⥊1}
! 0‿1‿3‿0‿4‿5‿0 ≡ Hanoi 3
# 39