Re: [q-lang-users] Symbol type
Brought to you by:
agraef
From: Burton S. <kr...@gm...> - 2006-08-23 21:02:59
|
On 8/23/06, Albert Graef <Dr....@t-...> wrote: > Burton Samograd wrote: > > Is the Symbol type left out for a reason, or > > is it under a different name that I haven't found yet? Would there be > > any objection to adding it? > > Yes, in fact it would be fairly useful to have a Symbol type (and > subtypes FunSymbol and VarSymbol) for doing meta-programming, but that > interferes with Q's current type system which only has single > inheritance. Hence a constant symbol couldn't be a member of its own > (user-defined) type, which might have its own supertype, and the Symbol > type at the same time. So, until Q gets multiple inheritance, you'll > just have to put up with the issym function and friends. Makes sense. Thanks for the response. I'll make due without until then. -- burton samograd kr...@gm... kruhft.boldlygoingnowhere.org www.myspace.com/kruhft |