[plt-scheme] define-syntax question

From: Neil W. Van Dyke (neil at neilvandyke.org)
Date: Thu Jun 26 23:50:01 EDT 2003

> > ((label fact (lambda (n) (if (= n 0) 1 (* n (fact (- n 1))))))

Does Scheme's named-"let" work for all the use cases of "label"?

    (let fact ((n 10)) (if (= n 0) 1 (* n (fact (- n 1)))))

There's also the venerable Y combinator... :)

-- 
                                             http://www.neilvandyke.org/


Posted on the users mailing list.