emacs-devel
[Top][All Lists]
Advanced

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

Re: Adding assoc-delete-all / rassoc-delete-all


From: Thorsten Jolitz
Subject: Re: Adding assoc-delete-all / rassoc-delete-all
Date: Thu, 17 Apr 2014 15:36:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> ,--------------------------------------------------------
>> | case is an alias for `cl-case' in `cl.el'.
>> | 
>> | (case EXPR (KEYLIST BODY...)...)
>> | 
>> | Eval EXPR and choose among clauses on that value. [...]
>> | Key values are compared by `eql'.
>> `--------------------------------------------------------
>> that does comparison with `equal' too (or does it exist and I just
>> missed it?).
>
> Not quite what you're asking, but `pcase' uses `equal' to compare strings.

Did not know about that one, thanks. PicoLisp has `casq' as a special
case comparing pointer equalitiy, and `case' that compares with `equal',
so everytime I try to use `case' in Elisp I notice how restricted it
is in comparison. 

-- 
cheers,
Thorsten




reply via email to

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