Jump to content

Y combinator: Difference between revisions

→‎{{header|Q}}: add Fibonacci function
(→‎{{header|Q}}: add Fibonacci function)
Line 4,533:
> (Y fac) 6
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>
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.