I didn't know this one either but I was just playing around and this seems
to work:
class Foo:
pass
class Foo[of T]:
pass
print typeof(Foo)
print typeof(Foo[of *])
+1 intutiveness
On Tue, Nov 10, 2009 at 1:19 PM, cneuwirt <cneuw
...@gmail.com> wrote:
> If I have a generic class SomeClass<T> and a non-generic class called
> SomeClass, how can I distinguish them in BOO?
> If I specify SomeClass, I'll get the non-generic version. How can I
> identify the open-generic version? I have tried SomeClass[of] but
> that is not legal
> thanks,
> craig
> --
> You received this message because you are subscribed to the Google Groups
> "Boo Programming Language" group.
> To post to this group, send email to boolang@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/boolang?hl=.
--
Justin Chase
http://www.justnbusiness.com