planckforth/example/fib.fs
2021-01-10 01:14:42 +09:00

2 lines
73 B
Forth

: fib dup 2 < unless 1- dup recurse swap 1- recurse + then ;
20 fib . cr