RosettaCodeData/Task/Factorial/Factor/factorial.factor

4 lines
71 B
Factor
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
USING: math.ranges sequences ;
: factorial ( n -- n ) [1,b] product ;