On Thu, Sep 16, 2010 at 10:37:57AM -0500, David Peixotto wrote:
> I'm having a problem getting code with datatype contexts to build with GHC
> HEAD. The code is from FGL, but even a simplified code like:
Thanks for a great testcase. I've filed a ticket here:
http://hackage.haskell.org/trac/gh
I'm having a problem getting code with datatype contexts to build with GHC
HEAD. The code is from FGL, but even a simplified code like:
module Heap(
Heap(..)
) where
data Ord a => Heap a b = Empty | Node a b [Heap a b]
deriving Eq
does not work. I get the compile error:
Heap.hs:1:1: