[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49809: [PATCH] Add macro 'pcase-setq'
From: |
Okam |
Subject: |
bug#49809: [PATCH] Add macro 'pcase-setq' |
Date: |
Sun, 01 Aug 2021 17:20:41 +0000 |
Hello,
This patch adds a `setq`-like equivalent to `pcase-let`. This is
convenient when one wants the bindings to exist outside of a `let` form.
This macro expands into multiple `setq` calls that are combined where
possible.
;; => (1 2 3 4)
(let (a b c d)
(pcase-setq a 1
b 2
`[,c ,d] [3 4])
(list a b c d))
Please let me know what should be changed.
Thank you.
0001-Add-macro-pcase-setq.patch
Description: Text Data
- bug#49809: [PATCH] Add macro 'pcase-setq',
Okam <=
- bug#49809: [PATCH] Add macro 'pcase-setq', Lars Ingebrigtsen, 2021/08/04
- bug#49809: [PATCH] Add macro 'pcase-setq', Stefan Monnier, 2021/08/04
- bug#49809: [PATCH] Add macro 'pcase-setq', Michael Heerdegen, 2021/08/04
- bug#49809: [PATCH] Add macro 'pcase-setq', Stefan Monnier, 2021/08/05
- bug#49809: [PATCH] Add macro 'pcase-setq', Stefan Monnier, 2021/08/05
- bug#49809: [PATCH] Add macro 'pcase-setq', Michael Heerdegen, 2021/08/05
- bug#49809: [PATCH] Add macro 'pcase-setq', Stefan Monnier, 2021/08/06
- bug#49809: [PATCH] Add macro 'pcase-setq', Michael Heerdegen, 2021/08/06
bug#49809: [PATCH] Add macro 'pcase-setq', Okam, 2021/08/06