logo       

garbled error message: msg#00066

lang.haskell.glasgow.bugs

Subject: garbled error message

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'

Attachment: Repr.hs
Description: application/unknown-content-type-haskellfile

Attachment: Data.hs
Description: application/unknown-content-type-haskellfile

default:
ghc --make -package data -package concurrent -package posix Data
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise