On 9/23/10 11:02 AM, Jos Koot wrote:
I often wondered why -identity- is not included in the exports of
racket/base.
But which functions would we choose?
(lambda (x) x)
or
(lambda x (apply values x))
which can simply be wrtitten as
values
So -values- may be the identity you are looking for.

Jos -- your eyes missed a set of parens.  The function in question is:

   (lambda (x) (x))

not

   (lambda (x) x)

David
_________________________________________________
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/users

Reply via email to