emacs-devel
[Top][All Lists]
Advanced

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

Re: pcase docstring tweaks


From: Stefan Monnier
Subject: Re: pcase docstring tweaks
Date: Tue, 27 Oct 2015 14:57:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> ***************
>> *** 115,123 ****
>>   SYMBOL     matches anything and binds it to SYMBOL.
>>   (or PAT...)        matches if any of the patterns matches.
>>   (and PAT...)       matches if all the patterns match.
>> !   \\='VAL          matches if the object is `equal' to VAL
>>   ATOM               is a shorthand for \\='ATOM.
>> !               ATOM can be a keyword, an integer, or a string.
>>   (pred FUN) matches if FUN applied to the object returns non-nil.
>>   (guard BOOLEXP)    matches if BOOLEXP evaluates to non-nil.
>>   (let PAT EXP)      matches if EXP matches PAT.
>> --- 115,123 ----
>>   SYMBOL     matches anything and binds it to SYMBOL.
>>   (or PAT...)        matches if any of the patterns matches.
>>   (and PAT...)       matches if all the patterns match.
>> !   \\='VAL          matches if the object is `equal' to VAL.
>>   ATOM               is a shorthand for \\='ATOM.
>> !               when ATOM is a keyword, an integer, or a string.
>>   (pred FUN) matches if FUN applied to the object returns non-nil.
>>   (guard BOOLEXP)    matches if BOOLEXP evaluates to non-nil.
>>   (let PAT EXP)      matches if EXP matches PAT.

The ATOM change looks like a mild regression to me, but if you feel
strongly about that bikeshed color, feel free to change it (but then
please remove the "."  from the previous line, otherwise the "when"
doesn't continue anything).

The rest is fine.


        Stefan



reply via email to

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