On Wed, Jul 20, 2011 at 10:07 PM, Ryan Trinkle <[email protected]> wrote:

> The following code doesn't compile, but it seems sensible enough to me.  Is
> this a limitation of GHC or is there something I'm missing?
>
> class C (A x) => C x where
>   type A x :: *
>
>
Did you mean

class (A x) => C x where
    type A x :: *

-- Anupam
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to