garbled error message

Dean Herington heringto at cs.unc.edu
Mon Jan 27 10:40:40 EST 2003


With the attached files, I get an apparently garbled error message
during compilation.

buzzard(105)% make
ghc --make -package data -package concurrent -package posix Data
ghc-5.04.2: chasing modules from: Data
Compiling Repr             ( Repr.hs, Repr.o )
Compiling Data             ( Data.hs, ./Data.o )

Data.hs:288:
    Could not deduce (ReprType r t) from the context ()
    Probable fix:
        Add (ReprType r t)
        to the When generalising the type of an expression
    arising from use of `getter'' at Data.hs:288
    In the first argument of `runDR', namely `(getter' repr)'
    When checking the type signature of the expression:
          runDR (getter' repr) "..." 0 rContents :: forall t. CC t
*** Error code 1
make: Fatal error: Command failed for target `default'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Repr.hs
Type: application/x-unknown-content-type-haskellfile
Size: 5038 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20030127/427038db/Repr.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Data.hs
Type: application/x-unknown-content-type-haskellfile
Size: 16225 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20030127/427038db/Data.bin
-------------- next part --------------
default:
	ghc --make -package data -package concurrent -package posix Data


More information about the Glasgow-haskell-bugs mailing list