16 lines
255 B
Text
16 lines
255 B
Text
> (lists:foreach
|
|
(lambda (x)
|
|
(io:format '"~p~n" `(,(factorial x))))
|
|
(lists:seq 10 20))
|
|
3628800
|
|
39916800
|
|
479001600
|
|
6227020800
|
|
87178291200
|
|
1307674368000
|
|
20922789888000
|
|
355687428096000
|
|
6402373705728000
|
|
121645100408832000
|
|
2432902008176640000
|
|
ok
|