[chuck-users] assignment (BUG?)

Tom Lieber tom at alltom.com
Sun May 31 22:07:08 EDT 2009


On Sun, May 31, 2009 at 7:19 PM, Robert Poor <rdpoor at gmail.com> wrote:
> FWIW, I did stumble over an example where => and @=> differ.  I typed
>
>        noisemakers[x] => Noisemaker @ current_noisemaker;
>
> which tried to patch noisemakers[x] into a null unit generator, producing
> some strange runtime error.  Of course what I intended was:
>
>        noisemakers[x] @=> Noisemaker @ current_noisemaker;
>
> So sometimes you just have to ask "please" to get ChucK to do the right
> thing.

Okay, that's a valid use case. ;p

-- 
Tom Lieber
http://AllTom.com/


More information about the chuck-users mailing list