[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
if-let/if-let*/and-let/..
From: |
Stefan Monnier |
Subject: |
if-let/if-let*/and-let/.. |
Date: |
Sun, 11 Feb 2018 18:51:15 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
This if/when/and-let/let* business looks pretty messy to me:
- why do we have and-let* ? According to its docstring the only case
when it differs from when-let* is when body is nil, but in that case
you're better off moving the last binding to the body (and use
when-let*).
- why do we have foo-let vs foo-let* ? The fact that each stp is depend
on the previous means that a "parallel let" semantics doesn't make
much sense, so only the "let*" semantics makes sense and we don't want
to have both of them.
Currently, almost all packages outside of Emacs which use those things
suffer from annoying obsolescence warnings which don't seem to be worth
the trouble.
Stefan
- if-let/if-let*/and-let/..,
Stefan Monnier <=
- Message not available
- Message not available
- Re: if-let/if-let*/and-let/.., Mark Oteiza, 2018/02/13
- Re: if-let/if-let*/and-let/.., Stefan Monnier, 2018/02/13
- Re: if-let/if-let*/and-let/.., Mark Oteiza, 2018/02/13
- Re: if-let/if-let*/and-let/.., Michael Heerdegen, 2018/02/14
- Re: if-let/if-let*/and-let/.., Stefan Monnier, 2018/02/14
- Re: if-let/if-let*/and-let/.., Michael Heerdegen, 2018/02/20