|
From: | Michael Heerdegen |
Subject: | Re: Replace trivial pcase occurrences in the Emacs sources |
Date: | Wed, 24 Oct 2018 19:55:28 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes: > And if repeating (eq foo 'bar) is the issue, you can use assoc and a > data structure, see my other message. Just a thought. That won't do it: pcase (or cl-case) clauses specify expressions to evaluate instead of only values to return. Only those pcase forms that have no side effects could be transformed into such an cdr-assoc combination. Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |