From: David Van Horn (dvanhorn at ccs.neu.edu) Date: Thu Sep 23 11:19:08 EDT 2010 |
|
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
Posted on the users mailing list. |
|