RE: [Haskell-cafe] Re: problem with collection (container) class

2008-02-18 Thread Simon Peyton-Jones
@haskell.org | Subject: Re: [Haskell-cafe] Re: problem with collection (container) class | | Am Freitag, 8. Februar 2008 22:14 schrieb Ben Franksen: | If it's a bug then it is probably in 6.6.1 too, it just gets hidden by the | fact that in 6.6.1 the -fglasgow-exts extensions cannot be activated

Re: [Haskell-cafe] Re: problem with collection (container) class

2008-02-08 Thread Daniel Fischer
Am Freitag, 8. Februar 2008 22:14 schrieb Ben Franksen: If it's a bug then it is probably in 6.6.1 too, it just gets hidden by the fact that in 6.6.1 the -fglasgow-exts extensions cannot be activated separately. If you enable one of them, you get them all. Thanks for the info, didn't know

[Haskell-cafe] Re: problem with collection (container) class

2008-02-08 Thread Ben Franksen
Daniel Fischer wrote: {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE FunctionalDependencies #-} {- # LANGUAGE FlexibleInstances # -} module Leandro where data Abb a b = Branch a b (Abb a b) (Abb a b) | Leaf data ListAssoc a b = Node a b (ListAssoc a b) | Empty class Container c a