Ben: I'm having a lot of trouble reading the example, because there is no use of type classes here. This is just generics. Can you try again so I can try to respond?
Thanks On Wed, Jul 9, 2014 at 3:15 AM, Ben Kloosterman <[email protected]> wrote: > I assume the interfaces defines members which return typeclass can this be > constrained creating a series of interfaces ? > > exploring typeclass to interfaces what do these mean in bitC > > A) interface ISomeInterface<T> where T: Eg > { > T GetVal(); > } > > B) > ISomeinterface > { > Eq GetVal(); > } > > Regards, > > Ben > > _______________________________________________ > bitc-dev mailing list > [email protected] > http://www.coyotos.org/mailman/listinfo/bitc-dev > >
_______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
