[CM] When does a let get created?

Woody Douglass wdouglass at carnegierobotics.com
Fri Sep 24 10:54:37 PDT 2021


Great! Thanks for the clarification!

Thanks,
Woody

On Fri, 2021-09-24 at 10:14 -0700, bil at ccrma.Stanford.EDU wrote:
> Yes, that's bug -- curlet should not be a safe function,
> or perhaps it should copy the current environment (like owlet).
> Thanks!
> 
> The "temporary" business refers to C-side functions; in Scheme the 
> optimizer
> tries to find functions that do not capture/export their arguments,
> and 
> uses
> the old let in that case.
> 
> You could use (copy (curlet)), which is essentially the same as
> (inlet 
> (curlet))
> but is one less character to type.
> 



More information about the Cmdist mailing list