Robby Findler wrote:
On Tue, May 17, 2011 at 9:52 PM, Matthias Felleisen
<matth...@ccs.neu.edu> wrote:
For a while I decided to try point-free programming. You can do it in
Racket as well as in Haskell. Then I ran across someone's rules for
writing Scheme and he had written

 (lambda (n) (+ x n))

is just as readable if not more than

 (curry + x)

and often (not here) it is shorter. I tested it in my project and he's
right.

+1 to this choice!

I prefer

    (λ (n) (+ x n))

CTRL-\ is one of my best friends when I use a lot of higher-order functions in Racket. It just looks so clean.

Neil T
_________________________________________________
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev

Reply via email to