RosettaCodeData/Task/Fibonacci-sequence/Bracmat/fibonacci-sequence-2.bracmat

14 lines
197 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
(fib=
last i this new
. !arg:<2
| 0:?last:?i
& 1:?this
& whl
' ( !i+1:<!arg:?i
& !last+!this:?new
& !this:?last
& !new:?this
)
& !this
)