Mike;
However, if the reserved word-- SinOsc --could be made equivalent to what was returned from .typeOf() or .className(), then it would be totally great.
Are you proposing a new type representing "keyword"? I don't think that would fly in the long term, unless we could add to the keywords. I still want this to -one day- fly:
class Distortion extends UGen
{
fun float tick() { .....etc...}
}
Furthermore there are more object types than UGens; so far we only discussed UGens but we need a general solution that will be able to deal with a array containing -say- objects of type "note" and type "melody" or "loop" and whatever. Without needing to implement what would amount to a custom type system.
Yours,
Kas.