
5 Apr
2011
5 Apr
'11
5:22 p.m.
Stephen,
Great. That solved the warnings.
Patrick
On Tue, Apr 5, 2011 at 5:06 PM, Stephen Tetley
The common way to export type classes is
Nte(..)
I'm not sure what happens if you export the "closed" class and the methods separately - I'd guess it means you can use the methods and put the class name in type signatures but can't declare new instances. As I've never needed to close classes, it's not something I've looked into.
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
-- ===================== Patrick LeBoutillier Rosemère, Québec, Canada