
1 Mar
2006
1 Mar
'06
5:53 a.m.
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:Bulat.Ziganshin@gmail.com