emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anaphoric macros: increase visibility


From: Noam Postavsky
Subject: Re: Anaphoric macros: increase visibility
Date: Fri, 13 Jan 2017 22:03:31 -0500

On Fri, Jan 13, 2017 at 9:30 PM, Rolf Ade <address@hidden> wrote:
>
> Michael Heerdegen <address@hidden> writes:
>> We also already have `if-let' and `when-let' in "subr-x".  They are like
>> `aif' and `awhen' but you specify "it" explicitly.
>
> Since you mention them ... I probably miss something obvious but from
> looking at the documentation of if-let
>
>     (if-let BINDINGS THEN &rest ELSE)
>
> and of when-let
>
>     (when-let BINDINGS &rest BODY)
>
> I don't get, why there is a need for when-let?
>

Just like there is both `if' and `when', it's useful to have both
`if-let' and `when-let'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]