Factorial in FPr

Example for versions FPr

This example provides a list of factorials from 0 up to 16. Factorialb is the non-recursive version.

(seq:16) map factorial&

seq == (0&),iota
factorial == (id=0&) -> (1&) ; id*(factorial°id-1&)

factorialb == ((1&),iota) \ (1*2)&