News for hackers. Stuff that matters.
Re:Google introduces Dart, a new programming language for we... by Peaker on Monday October 10, 2011 @11:07AM (#3094059)
Instead of (a < SimpleListFilter) you can use a type-class constraint and an existential, or an explicit record of methods. In Haskell, anything you use will basically be inferred, and Haskell can encode that, though you would have to choose different primitives to encode that relationship than subtypes.

There are no comments on this comment yet.