>At 03:29 07.06.2003 +0200, I wrote:
Here's a convoluted example of a function in Scheme. Try to guess what is does :-)
(define foo
(lambda (n) (if (= n 0)
"Hello World!"
(lambda () (function (- n 1))))))
Oops, it's supposed to be
(define foo
(lambda (n) (if (= n 0)
"Hello World!"
(lambda () (foo (- n 1))))))of course.
The beauty is that anyone who knows the lambda syntax from math can understand it :-)
Ok, enough of this offtopic stuff :-)
Alexander (aka Sasha) Maryanovsky.
================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
