RosettaCodeData/Task/Factorial/Factor/factorial.factor

4 lines
71 B
Factor
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
USING: math.ranges sequences ;
: factorial ( n -- n ) [1,b] product ;