diff options
Diffstat (limited to 'samples/rosetta/fibonacci_sequence.bruijn')
-rw-r--r-- | samples/rosetta/fibonacci_sequence.bruijn | 2 |
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)) |