Kent M Pitman <pitman@nhplace.com> wrote:
+---------------
| And it's less full of words that serve no purpose. That is, the word
| LAMBDA is useful in a non-idiomatic place because it identifies an
| anonymous function. But in an idiom, where I already know what's going
| on, it's just clutter. In a sense, I'd like to write
| (mapcar ((x) ..) ...)
| because I already know that LAMBDA is so common there that I could leave
| it out and a human would know what I meant ...
+---------------
Heh! Which is why my personal init file defines a #$ readmacro, just
so I don't have to type so much to the REPL when I'm trying out stuff:
> (mapcar #$(cons $1 (+ 32 (* 9/5 $1))) (iota 11 0 10))
((0 . 32) (10 . 50) (20 . 68) (30 . 86) (40 . 104) (50 . 122)
(60 . 140) (70 . 158) (80 . 176) (90 . 194) (100 . 212))
>
But don't worry, I never use #$ in permanent code... ;-}
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607