[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sc-devel] firstArg - why not valid for all objects?

I'm sure I've asked before and never gotten an answer, but... why is firstArg defined only for AbstractFunction, SequenceableCollection, Signal and SimpleNumber?

a - That leaves out a LOT of objects capable of doing math, e.g., Complex, Point...
b - It's more of a flow of control operator than a math operator anyway, so why restrict it to mathy objects?

I just ran into another situation where I had to write the inconvenient syntax

{ var ret = ~xyz;
~xyz = nil;

instead of the following, which expresses it much more cleanly imho -

{ ~xyz <! (~xyz = nil) }

Could someone either justify the restriction or give the go-ahead to lift it?


: H. James Harkins

: jamshark70@xxxxxxxxxxxxxxxxx

: http://www.dewdrop-world.net


"Come said the Muse,

Sing me a song no poet has yet chanted,

Sing me the universal."  -- Whitman