unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to extract bindings from `pcase-let*`?
@ 2021-03-15  1:43 Okam
  2021-03-15 15:38 ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Okam @ 2021-03-15  1:43 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

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?

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.

Thank you.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-17  2:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-15  1:43 How to extract bindings from `pcase-let*`? Okam
2021-03-15 15:38 ` Stefan Monnier
2021-03-16  1:50   ` Okam
2021-03-16  2:45     ` Stefan Monnier
2021-03-17  1:33       ` Okam
2021-03-17  2:59         ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).