Sure. A type should be used only when it is useful.
In your case, we would need a Trait, but short of that, you can just not define the type
at all.
Cheers,
Doru
On Apr 2, 2013, at 8:27 PM, Yuriy Tymchuk <yuriy.tymchuk(a)me.com> wrote:
But it becomes e bit cumbersome. For example in
Smalltalk AST a variable can
be either used in a variable expression or in assignment expression, so you
can't just define a parrentExpression relation
Uko
--
View this message in context:
http://moose-dev.97923.n3.nabble.com/statically-typed-language-tp4026682p40…
Sent from the moose-dev mailing list archive at
Nabble.com.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"What we can governs what we wish."