[Top][All Lists]

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

Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs]

From: Joost Kremers
Subject: Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs]
Date: Tue, 19 May 2020 01:46:03 +0200
User-agent: mu4e 1.4.4; emacs 28.0.50

On Mon, May 18 2020, Adrián Medraño Calvo wrote:
Typing λ is a no-go, in my opinion.

Well, on the assumption that Elisp is mostly written in Emacs using emacs-lisp-mode, one might introduce a command that makes it easier to type. But I tend to agree that it's a bad idea.

Going with % and %1, %2, etc. would be fine, and would be intuitive
for people with Clojure backgrounds.  But % is taken.

Why is % taken? Because it's a function name? But Elisp is a Lisp-2.

[… This alternative occurred to me meanwhile:

        (\ (f \1 1))

\ is used by Haskell for its lambda expressions (it’s supposed to remind of λ). \1, \2, etc is used in regular expressions to refer to capture
groups.  It’s somewhat ugly, but makes sense.]

Not my personal favourite, but I'll get used to any syntax that's chosen. :-)

Joost Kremers
Life has its moments

reply via email to

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