andrep / hoc

Automatically exported from code.google.com/p/hoc
8 stars 1 forks source link

Build error: Ambiguous type variable in HOC.Exception #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.1
$ cd hoc #  at r372
$ cabal install

[...]

[11 of 31] Compiling HOC.Exception    ( HOC/HOC/Exception.hs, 
dist/build/HOC/Exception.o )

HOC/HOC/Exception.hs:33:12:
    Ambiguous type variable `a' in the constraint:
      `base:GHC.Exception.Exception a'
        arising from a use of `throwIO' at HOC/HOC/Exception.hs:33:12-22
    Probable fix: add a type signature that fixes these type variable(s)
cabal: Error: some packages failed to install:
HOC-1.0 failed during the building phase. The exception was:
exit: ExitFailure 1

Original issue reported on code.google.com by brodie....@gmail.com on 18 Dec 2008 at 1:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have fixed the ghc errors, but there is a cabal problem (described in more 
detail in the commit notes for 
r379) that I haven't yet figured out how to deal with.

Original comment by james.c...@usma.edu on 29 Dec 2008 at 5:34

GoogleCodeExporter commented 9 years ago

Original comment by aut...@gmail.com on 11 Aug 2009 at 5:20