help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Style Issues in Lisp and Scheme programming, setq versus let ... and


From: José A . Romero L .
Subject: Re: Style Issues in Lisp and Scheme programming, setq versus let ... and onion structure with multiple cores or eyes or kernels Re: string to list or string to array
Date: Thu, 25 Oct 2012 01:25:03 -0700 (PDT)
User-agent: G2/1.0

W dniu czwartek, 25 października 2012 05:20:32 UTC+2 użytkownik address@hidden 
napisał:
(...)
> As an aside you show the notation. well and good. But I realize that
> there is no executable substitute or ability to return a curried
> function
> in emacs. Consider these forms.
(...)

AFAIK there is none, but it's not hard to make one, e.g.

    (defmacro curry (fun &rest args)
      `(lambda (&rest more-args)
         (apply ,fun (append ',args more-args))))

Cheers, 
--
José A. Romero L.
escherdragon at gmail
"We who cut mere stones must always be envisioning cathedrals."
(Quarry worker's creed)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]