Y combinator: Difference between revisions
Content added Content deleted
(→{{header|Q}}: add Fibonacci function) |
|||
Line 4,533: | Line 4,533: | ||
> (Y fac) 6 |
> (Y fac) 6 |
||
720j |
720j |
||
> fib: {{$[y<2; 1; (x y-1) + (x y-2)]} x} |
|||
> (Y fib) each til 20 |
|||
1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765 |
|||
</lang> |
</lang> |
||