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

6 lines
104 B
Text
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
(de fact (N)
(apply * (range 1 N)) )
(de foo ()
(prinl "The value of fact(10) is " `(fact 10)) )