Re: Paul Graham's Arc is released today... what is the long term impact?



On Feb 11, 5:56 pm, Ron Garret <rNOSPA...@xxxxxxxxxxx> wrote:
In article <8763wvd6p6....@xxxxxxxxx>,
 Joost Diepenmaat <jo...@xxxxxxxxx> wrote:

r...@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

Yes, but /. or /_ (looks like an L) are much mure Perlish! Which is
one of the driving forces of programming today.

Cheers
--
Marco

"Perl is the programming language whose design goal is to increase a
programmer's self-esteem" (paraphrase of a Steele-Gosling exchange at
OOPSLA 2007)
.