Hi all
I am stumped again. The following code generates the error "ERROR
file:.\Cube.hs:12 - An instance of IArray UArray a is required to derive Eq
(Cube a b)" in Hugs. But I did specify the IArray UArray k constraint. So
what is wrong?
module Cube( Cube(..) )
where
import Data.Array.Unboxed
Hello Peter,
Friday, September 8, 2006, 6:03:36 PM, you wrote:
> I am stumped again. The following code generates the error "ERROR
> file:.\Cube.hs:12 - An instance of IArray UArray a is required to derive Eq
> (Cube a b)" in Hugs. But I did specify the IArray UArray k constraint. So
> what is wr