aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/rosetta/fibonacci_sequence.bruijn
diff options
context:
space:
mode:
authorMarvin Borner2024-05-02 21:57:58 +0200
committerMarvin Borner2024-05-02 21:57:58 +0200
commita25ed8a75d036de252cfe74b5fa0788215194b41 (patch)
tree65ab549fe20b719535113a4af40bd4c784765cbb /samples/rosetta/fibonacci_sequence.bruijn
parent349e8574c67bf575ed39694c8085eab00473bfaa (diff)
More math
MAATHTHAHHAHA
Diffstat (limited to 'samples/rosetta/fibonacci_sequence.bruijn')
-rw-r--r--samples/rosetta/fibonacci_sequence.bruijn2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/rosetta/fibonacci_sequence.bruijn b/samples/rosetta/fibonacci_sequence.bruijn
index d2e4752..dc64962 100644
--- a/samples/rosetta/fibonacci_sequence.bruijn
+++ b/samples/rosetta/fibonacci_sequence.bruijn
@@ -8,7 +8,7 @@ fib-unary [0 [[[2 0 [2 (1 0)]]]] k i]
:test (fib-unary (+6u)) ((+8u))
# ternary fibonacci using infinite list iteration (very fast)
-fib-list \index fibs
+fib-list index fibs
fibs head <$> (iterate &[[0 : (1 + 0)]] ((+0) : (+1)))
:test (fib-list (+6)) ((+8))