[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Anaphoric macros: increase visibility
From: |
Stefan Monnier |
Subject: |
Re: Anaphoric macros: increase visibility |
Date: |
Sun, 15 Jan 2017 10:32:38 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Tino writes:
>> (pcase-let ((`(,a ,b) '(1 2 3)))
>> (list a b))
>> ==> (1 2)
>> although the pattern doesn't match.
> I can be bitten with that pitfall as well.
I think the problem is in the name: it really should be called just `let`.
It does not do any *match*, instead the pcase pattern is only used to
specify how to *extract* the data we want.
Stefan
- Re: Anaphoric macros: increase visibility, (continued)
- Re: Anaphoric macros: increase visibility, Michael Heerdegen, 2017/01/13
- Re: Anaphoric macros: increase visibility, Tino Calancha, 2017/01/14
- Re: Anaphoric macros: increase visibility, Michael Heerdegen, 2017/01/14
- On the naming/behavior of {if, when}-let (was Re: Anaphoric macros: increase visibility), Mark Oteiza, 2017/01/14
- Re: Anaphoric macros: increase visibility, Michael Heerdegen, 2017/01/14
- Re: Anaphoric macros: increase visibility, Tino Calancha, 2017/01/15
- Re: Anaphoric macros: increase visibility,
Stefan Monnier <=
- Re: Anaphoric macros: increase visibility, Tino Calancha, 2017/01/15
- Re: Anaphoric macros: increase visibility, Stefan Monnier, 2017/01/15
Re: Anaphoric macros: increase visibility, Dmitri Paduchikh, 2017/01/14
- Re: Anaphoric macros: increase visibility, Tino Calancha, 2017/01/14
- Re: Anaphoric macros: increase visibility, Dmitri Paduchikh, 2017/01/14
- Re: Anaphoric macros: increase visibility, Michael Heerdegen, 2017/01/14
- Re: Anaphoric macros: increase visibility, Dmitri Paduchikh, 2017/01/14
- Re: Anaphoric macros: increase visibility, Michael Heerdegen, 2017/01/14