Re: Paul Graham's Arc is released today... what is the long term impact?
- From: Ron Garret <rNOSPAMon@xxxxxxxxxxx>
- Date: Mon, 11 Feb 2008 08:56:40 -0800
In article <8763wvd6p6.fsf@xxxxxxxxx>,
Joost Diepenmaat <joost@xxxxxxxxx> wrote:
rpw3@xxxxxxxx (Rob Warnock) writes:
But here's a really twisted one for those with "dumb" terminals:
Instead of using FN to abbreviate LAMBDA, we can use /. which
kinda looks like a lambda is you squint: ;-}
> (defmacro /. (args &body body) `(lambda ,args ,@body))
/.
> (mapcar (/. (x) (* 3 x)) (iota 5))
I like that; it's short, it looks kinda nice and it's only 2 keystrokes.
"fn" is only two keystrokes too, and IMHO looks a lot better (and is
much more reminiscent of "function") than /. (which really ought to be
..\ if you want it to look like a lambda).
rg
.
- Follow-Ups:
- Re: Paul Graham's Arc is released today... what is the long term impact?
- From: Marco Antoniotti
- Re: Paul Graham's Arc is released today... what is the long term impact?
- References:
- Re: Paul Graham's Arc is released today... what is the long term impact?
- From: John Thingstad
- Re: Paul Graham's Arc is released today... what is the long term impact?
- From: Kent M Pitman
- Re: Paul Graham's Arc is released today... what is the long term impact?
- From: John Thingstad
- Re: Paul Graham's Arc is released today... what is the long term impact?
- From: Rob Warnock
- Re: Paul Graham's Arc is released today... what is the long term impact?
- From: Joost Diepenmaat
- Re: Paul Graham's Arc is released today... what is the long term impact?
- Prev by Date: Re: New reference for the SLIME screencast
- Next by Date: Re: Qi II preview
- Previous by thread: Re: Paul Graham's Arc is released today... what is the long term impact?
- Next by thread: Re: Paul Graham's Arc is released today... what is the long term impact?
- Index(es):