[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Semantic of pcase `seq' and `map' patterns
From: |
Nicolas Petton |
Subject: |
Re: Semantic of pcase `seq' and `map' patterns |
Date: |
Sat, 17 Oct 2015 15:31:20 +0200 |
User-agent: |
Notmuch/0.19 (http://notmuchmail.org) Emacs/25.0.50.7 (x86_64-unknown-linux-gnu) |
Michael Heerdegen <address@hidden> writes:
> Michael Heerdegen <address@hidden> writes:
>
>> > Sure, using "&rest":
>>
>> So that's missing in the doc of the pcase pattern, too, since it's not
>> an obvious thing.
>
> Thanks for the fixes. But isn't the "&rest" part still missing?
Yes, it is, but my changes were not final. We went through some more
iterations with Eli, and I will commit more improvements to docstrings
in both seq and map ASAP.
> And now, the second sentence for the docstring of the `map' pcase
> pattern says:
>
> "Matches if the object is a map (list, hash-table or array), and
> each PATTERN matches the corresponding elements of the map."
>
> where PATTERN is unclear for what it stands. Of course, you can derive
> it from the context if you think about it, but that should not be
> necessary.
>
> Sorry for being obtrusive.
Don't be sorry, feedback is always welcome, especially went given with
good intentions, as you are doing.
Nico
signature.asc
Description: PGP signature
- Re: pcase-setq, (continued)
- Re: pcase-setq (was: pcase-dolist), Nicolas Petton, 2015/10/15
- Semantic of pcase `seq' and `map' patterns (was: pcase-setq), Michael Heerdegen, 2015/10/12
- Re: Semantic of pcase `seq' and `map' patterns, Michael Heerdegen, 2015/10/12
- Re: Semantic of pcase `seq' and `map' patterns, Nicolas Petton, 2015/10/12
- Re: Semantic of pcase `seq' and `map' patterns, Michael Heerdegen, 2015/10/12
- Re: Semantic of pcase `seq' and `map' patterns, Michael Heerdegen, 2015/10/17
- Re: Semantic of pcase `seq' and `map' patterns,
Nicolas Petton <=
- Re: Semantic of pcase `seq' and `map' patterns (was: pcase-setq), Nicolas Petton, 2015/10/15
- Re: pcase-setq, Michael Heerdegen, 2015/10/15