Andr� Thieme <address.good.until.2009.may.11@justmail.de> wrote:
+---------------
| Raffael Cavallaro schrieb:
| > Oh please! The *only* reason that clojure has the need for loop/recur
| > and trampoline is because the jvm doesn't do tail call optimization
|
| This is mostly true. But recur extends typical recursion, by enabling
| anonymous functions to call themselves.
+---------------
You can easily implement the Y combinator in standard Scheme
or Common Lisp, which gets you exactly the same functionality.
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607