[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: call/cc




   From: Pixel <pixel@mandrakesoft.com>
   Date: 15 Dec 2001 01:24:21 +0100

   ... this is pretty dumb... Maybe a better closure example would be better.
   What about adding the 2 parameters + 1.

For a really good test that will provide better separation
of the languages, try curried addition of first one parameter,
then the other, plus 1:

(((lambda (x) (lambda (y) (+ x y 1))) 3) 5)     Scheme, 24 tokens

--Guy