Hallo, carmen hat gesagt: // carmen wrote:
[list] has lots of magic. It's the best builtin to happen to Pd since, say, 1.5 years. Everyone should upgrade to 0.39 just for [list].
is there a way to [prepend] without using 2 objects instead of one?
Well, what about an abstraction?
To mimic Max/Cyclone [prepend] as in "list a b c" ==> [prepend set] ==> "set a b c" you need to use [list trim] afterwards.
However to convert "a b c" to "list set a b c" you only need one [list prepend set], whereas to get a "list"-list out of Max-[prepend] requires a conversion using a second object (like [list]).
See attached patch for an example. Either way you look at it: In one case, you always need two objects, unless list-semantics totally change.
Frank Barknecht _ ______footils.org_ __goto10.org__