[chuck-users] assignment (BUG?)

Hans Aberg haberg at math.su.se
Tue Jun 2 05:48:52 EDT 2009


On 2 Jun 2009, at 06:18, Tom Lieber wrote:

> Well Poor's example demonstrated that =>'s automatic dereferencing of
> UGen@ types for connecting UGens makes @=> necessary.

Though there is a semantic difference between referencing and copy- 
over (cloning), it is not a must to express it through different  
assignment operators. Think of files. The normals thing is to hand  
over a reference, but copy-over is possible, though, more less often  
used. So
   a => b;
could mean to hand over reference - the normal use case, whereas for a  
copy-over say
   a.clone() => b;

   Hans




More information about the chuck-users mailing list