From a25ed8a75d036de252cfe74b5fa0788215194b41 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 2 May 2024 21:57:58 +0200 Subject: More math MAATHTHAHHAHA --- samples/rosetta/fibonacci_sequence.bruijn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samples/rosetta/fibonacci_sequence.bruijn') 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)) -- cgit v1.2.3