diff options
author | Marvin Borner | 2024-05-02 21:57:58 +0200 |
---|---|---|
committer | Marvin Borner | 2024-05-02 21:57:58 +0200 |
commit | a25ed8a75d036de252cfe74b5fa0788215194b41 (patch) | |
tree | 65ab549fe20b719535113a4af40bd4c784765cbb /samples/rosetta/fibonacci_sequence.bruijn | |
parent | 349e8574c67bf575ed39694c8085eab00473bfaa (diff) |
More math
MAATHTHAHHAHA
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)) |