[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Semantic of pcase `seq' and `map' patterns
From: |
Michael Heerdegen |
Subject: |
Re: Semantic of pcase `seq' and `map' patterns |
Date: |
Mon, 12 Oct 2015 16:02:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Nicolas Petton <address@hidden> writes:
> Sure, using "&rest":
And that's working with the pcase pattern, too:
(pcase '(1 2 3 4)
((seq a b &rest c) (list a b c)))
==> (1 2 (3 4))
So that's missing in the doc of the pcase pattern, too, since it's not
an obvious thing.
Anyway, great stuff.
Thanks,
Michael.
- Re: pcase-setq, (continued)
Re: pcase-setq (was: pcase-dolist), Nicolas Petton, 2015/10/15
Re: Semantic of pcase `seq' and `map' patterns (was: pcase-setq), Nicolas Petton, 2015/10/15
Re: pcase-setq, Michael Heerdegen, 2015/10/15