I think warnings would be good at the very least. Wanna submit a patch with some warnings?
.hc
On Jan 10, 2007, at 10:44 AM, Claude Heiland-Allen wrote:
"float a" | [print]
error: Bad arguments for message 'float' to object 'messresponder'
but
"symbol 1" | [print]
print: symbol
(in fact an empty symbol: selector<symbol> message<symbol<>>, checked with Print.hs from hsext [1])
I think *both* cases should error, with a more informative error message (such as listing the offending arguments).
Also, maybe (optional) warnings for cases such as:
"float 1 2 3" (equivalent to "float 1") "float 1 a b" (equivalent to "float 1") "symbol a b c" (equivalent to "symbol a") "symbol a 1 2" (equivalent to "symbol a")
Any thoughts?
[1] http://devel.goto10.org/listing.php?repname=maximus&path=% 2Fhsext%2F&rev=0&sc=0
Claude
http://claudiusmaximus.goto10.org
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
------------------------------------------------------------------------
News is what people want to keep hidden and everything else is publicity. - Bill Moyers