[Top][All Lists]

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

Re: emacs-25 1d4887a: Improve documentation of 'pcase'

From: Michael Heerdegen
Subject: Re: emacs-25 1d4887a: Improve documentation of 'pcase'
Date: Mon, 25 Jan 2016 16:29:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> > with `equal' - multiple occurrences of a symbol are turned into `eq'
> > tests, for example.
> Indeed, I think that was a mistake on my part.  We should change the
> code to use `equal' there as well.

No strong opinion on my side.  I think I never had a case where it made
a difference.

FWIW Drew mentioned that it maybe could be cool if the equivalence
predicate could be specified locally for a pcase form like

(pcase my-string #'string-collate-equalp
   ("Noël" "Christmas"))

or so.


reply via email to

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