Re: Association is not properly embeddable

rohrhuber-g/[email protected] Mon, 03 Feb 2020 14:51:35 +0000
Newsgroups gmane.comp.audio.supercollider.devel
Message-ID <[email protected]>
Agreed, but it has been like this since at least 23 years, just checked in SC 2.2.16. 
We should think carefully and review the whole event stream system if we want to change that assumption!



> On 3. Feb 2020, at 09:06, [email protected] wrote:
> 
> 
> Prand([1], 1).asStream.next
> -> 1
> 
> Prand([\a -> 1], 1).asStream.next
> -> [ (a -> 1) ]
> 
> An... array? Huh? There's no precedent for that among any ListPatterns.
> 
> In Association:
> 
>    embedInStream { arg inval;
>        ^inval.add(this).yield;
>    }
> 
> Again, the assumption that 'inval' will obviously be an Event. But it
> isn't obviously always an Event.
> 
> Grr.
> 
> hjh
> 
> _______________________________________________
> sc-dev mailing list
> 
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
> search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/



_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/