[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to extract bindings from `pcase-let*`?
From: |
Stefan Monnier |
Subject: |
Re: How to extract bindings from `pcase-let*`? |
Date: |
Mon, 15 Mar 2021 11:38:06 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> I would like to extract the bindings created by `pcase-let*` to use them
> in a `setq` form. Is there a good way of doing this?
Sending me a patch to `pcase.el` which does that?
> Previously, I was using `macroexpand` on `pcase-let*` and extracting the
> bindings from the list, but after the expansion produced by `pcase-let*`
> changed recently, I realized that this way assumes too much.
Interesting. Can you show me the code you used?
Stefan