[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...)))
From: |
Thien-Thi Nguyen |
Subject: |
Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))) |
Date: |
Tue, 04 Jan 2011 18:20:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
() MON KEY <address@hidden>
() Mon, 3 Jan 2011 00:37:48 -0500
Is the proposed symbol for this syntax extension `=>'?
Yes.
If so, I find the proposed symbol ugly.
`=>' is already a semantically loaded indicator.
I'm sorry, i don't understand what you mean. Outside of
documentation and the mini-language Calc accepts, i don't
see that symbol in use.
Likewise, the individual tokens of `=>' are too visually
similiar to `=' and `>'.
I would prefer either `#=>' or `#->' which might help to
convey the implicit function call involved.
The hash is problematic, but really, any short symbol is
fine with me. (I chose ‘=>’ out of familiarity w/ Scheme.)
Another idea is ‘:=>’ or even ‘::’, both of which font lock
nicely out of the box, for some extra visual distinction.
- Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))), (continued)
- Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))), Stefan Monnier, 2011/01/05
- Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))), Harald Hanche-Olsen, 2011/01/05
- Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))), Stefan Monnier, 2011/01/05
- Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))), Helmut Eller, 2011/01/06
- Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))), Stefan Monnier, 2011/01/06
- Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))), Richard Stallman, 2011/01/06
- Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))), Richard Stallman, 2011/01/05
- Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))), Andy Wingo, 2011/01/11
Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))), Miles Bader, 2011/01/05
Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))), MON KEY, 2011/01/03
- Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...))),
Thien-Thi Nguyen <=