RosettaCodeData/Task/Compile-time-calculation/PicoLisp/compile-time-calculation.l

6 lines
104 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
(de fact (N)
(apply * (range 1 N)) )
(de foo ()
(prinl "The value of fact(10) is " `(fact 10)) )