aboutsummaryrefslogtreecommitdiffhomepage
path: root/std/Math.bruijn
diff options
context:
space:
mode:
Diffstat (limited to 'std/Math.bruijn')
-rw-r--r--std/Math.bruijn2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/Math.bruijn b/std/Math.bruijn
index d9a8c5e..58da709 100644
--- a/std/Math.bruijn
+++ b/std/Math.bruijn
@@ -145,7 +145,7 @@ arrow z [[[[rec]]]] ⧗ Number → Number → Number → Number
# fibonacci sequence
# TODO: faster fib?
-fibs head <$> (iterate [~0 : (^0 + ~0)] ((+0) : (+1))) ⧗ (List Number)
+fibs head <$> (iterate &[[0 : (1 + 0)]] ((+0) : (+1))) ⧗ (List Number)
fib [fibs !! ++0] ⧗ Number