(define (factorial n k) (= n 0 (lambda (b) (if b (k 1) (- n 1 (lambda (nm1) (factorial nm1 (lambda (f) (* n f k)))))))))
if I wasn't hungry, I would think that I was getting dizzy after 30min of this kinda stuff :\. I generally don't mind the parens, but I find assembly easier on the brain sometimes...
No comments:
Post a Comment