|
From: | Théo Cavignac |
Subject: | Re: Behavior of #!optional |
Date: | Mon, 9 Mar 2020 22:23:48 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
Cheers, Théo Le 03/03/2020 à 09:21, Evan Hanson a écrit :
Hi Théo, I don't know whether there are any firm guarantees about that behaviour, but functionally it's safe to rely on, yes. That idiom you mentioned is pretty handy, I use it myself sometimes. Under the hood, #!optional arguments are expanded in a let*-style binding form (as opposed to a "normal" let binding, where they wouldn't see one another), so later values can refer to earlier ones. Cheers, Evan
[Prev in Thread] | Current Thread | [Next in Thread] |