[PD-dev] overriding "internals"

Mathieu Bouchard matju at artengine.ca
Sun Nov 11 02:32:08 CET 2007


On Sat, 10 Nov 2007, Hans-Christoph Steiner wrote:

> Why?  For example, [list append] will happily append a symbol to a
> float, so the "list" part doesn't seem so accurate.  Why not just
> [append]?

both of list's inlets automatically cast a float or symbol or pointer 
message to a list. this behaviour is pd-wide as the default methods for 
float and symbol and pointer redirect to the list-method when it exists, 
or else to the anything-method.

so, i think that the name "list" is accurate, and if you have a 1-element 
message with either a list or float selector, it is accurate to call it a 
float message or a list message or both at once. Pd externals are sort of 
implicitly expected to not make a distinction, but some externals do make 
a distinction anyway.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada


More information about the Pd-dev mailing list