GNU bug report logs - #28254
26.0.50; SRFI-2 and-let*

Previous Next

Package: emacs;

Reported by: Mark Oteiza <mvoteiza <at> udel.edu>

Date: Sun, 27 Aug 2017 20:12:02 UTC

Severity: wishlist

Found in version 26.0.50

Done: Mark Oteiza <mvoteiza <at> udel.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: npostavs <at> users.sourceforge.net
To: Mark Oteiza <mvoteiza <at> udel.edu>
Cc: 28254 <at> debbugs.gnu.org
Subject: bug#28254: 26.0.50; SRFI-2 and-let*
Date: Thu, 31 Aug 2017 22:55:58 -0400
Mark Oteiza <mvoteiza <at> 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))))




This bug report was last modified 7 years and 253 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.