Hello Alson, Wednesday, March 1, 2006, 3:26:44 AM, you wrote:
AK> class CollectionClass c e where this works with -fglasgow-exts : class CollectionClass c e where toList :: c e -> [e] data Array i e = Array i i instance CollectionClass (Array i) e where toList a = [] btw, see chapter 7.1.1 in the http://cvs.haskell.org/Hugs/pages/hugsman/exts.html -- Best regards, Bulat mailto:[EMAIL PROTECTED] _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe