[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there a function for auto currying in Elisp?
From: |
Nicolas Petton |
Subject: |
Re: Is there a function for auto currying in Elisp? |
Date: |
Fri, 22 Dec 2017 16:38:42 +0100 |
Stefan Monnier <address@hidden> writes:
> If you're serious about using such a construct, you'd first want to make
> it into a macro so it avoids the use of apply-partially which just adds
> insult to injury.
The implementation can be made more efficient, but my question is
whether or not a `curry' function should be part of Elisp's arsenal. I
think it should, the same way as we have `apply-partially'.
The fact that closures are expensive is a bit sad, but I don't think
that we should discourage users from using them.
Cheers,
Nico
signature.asc
Description: PGP signature
- Re: Is there a function for auto currying in Elisp?, (continued)
Re: Is there a function for auto currying in Elisp?, vlnx, 2017/12/21
Re: Is there a function for auto currying in Elisp?, Stefan Monnier, 2017/12/21