Thank you Evan. By the way I just realized that `#!optional` is specific to chicken anyway which makes this behavior a lot more viable if chicken users already use it.

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

Reply via email to