[slime-devel] Re: ABCL patches for SLIME HEAD

Nicolas Neuss neuss at math.uni-karlsruhe.de
Mon Sep 3 20:03:04 UTC 2007


"Tobias C. Rittweiler" <tcr at freebits.de> writes:

> Nicolas Neuss <neuss at math.uni-karlsruhe.de> writes:
> 
> > I do not like it, because it uses a tricky construct to achieve something
> > simple.  I would use something like
> >
> >   (mapcar (curry #'+ 10) list)
> 
> (Notice that this is not currying, but partial application; hence the
> util is probably better named `papply' or similiarly.)

Hm, I think that I am at least in agreement with Graham's AnsiCL book where
he calls such functions 'curry' (supplying arguments from the left) and
'rcurry' (supplying arguments from the right).

Nicolas




More information about the slime-devel mailing list