[CM] Question about unexpected let binding behaviour

bil at ccrma.Stanford.EDU bil at ccrma.Stanford.EDU
Wed Apr 22 06:54:10 PDT 2026


I think this is a bug in inlet, in that the
order of entries is incorrect.  I originally
(like 15 or more years ago) thought that you
might want to put multiple versions of a
variable in a let, shadowing the earlier ones,
then use cutlet to unshadow it.  Standard
scheme I think says that that's an error if
it happens in a let statement. But i've never
found any compelling use for cutlet. inlet is
inconsistent currently, and I can conjure up
examples that give different values for the
repeated variable depending on context.  I
can't remember any use for duplicated variables
either -- maybe it should just be an error.




More information about the Cmdist mailing list