[Top][All Lists]

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

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

From: Teemu Likonen
Subject: Re: Adding assoc-delete-all / rassoc-delete-all
Date: Thu, 17 Apr 2014 18:17:43 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux)

Tassilo Horn [2014-04-17 13:39:41 +02:00] wrote:

> So I'm voting for adding a function `assoc-delete-all' which is just
> like `assq-delete-all' except that it does the comparison with `equal'
> instead of `eq'. Then the above becomes just

That would add symmetry but how about cl-delete(-if(-not))?

    (setq Tex-Command-List
          (cl-delete "Biber" TeX-command-list 
                     :key 'car :test 'equal))

> For symmetry, I'd also add `rassoc-delete-all' to the existing
> `rassq-delete-all'.

I prefer those generic higher-order Common Lisp versions which already
have all the features.

Attachment: signature.asc
Description: PGP signature

reply via email to

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