4 ms·
For the record, that isn't valid racket code. This is: (define (factorial n) (cond [(<= n 1) 1] [else (* n (factorial (sub1 n)))]))
by gcr 14y ago
For the record, that isn't valid racket code. This is:
(define (factorial n)
(cond
[(<= n 1) 1]
[else (* n (factorial (sub1 n)))]))