[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28254: 26.0.50; SRFI-2 and-let*
From: |
npostavs |
Subject: |
bug#28254: 26.0.50; SRFI-2 and-let* |
Date: |
Thu, 31 Aug 2017 22:55:58 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) |
Mark Oteiza <mvoteiza@udel.edu> writes:
> its behavior overlaps with when-let* but each has things the other
> lacks.
Can the differences be minimized? I think having a bunch of tiny
differences is not good for reader comprehension or code reuse.
How much would be lost if we implemented and-let* like this?
(defmacro and-let* (varlist &rest body)
`(when-let* ,varlist
,@(or body '(t))))