1

cabal install scion-browser给出:

[ 6 of 23] Compiling Scion.PersistentBrowser.Query ( src/Scion/PersistentBrowser/Query.hs, dist/build/scion-browser/scion-browser-tmp/Scion/PersistentBrowser/Query.o )

src/Scion/PersistentBrowser/Query.hs:258:58:
    No instance for (MonadResource IO)
      arising from a use of `get'
    Possible fix: add an instance declaration for (MonadResource IO)
    In a stmt of a 'do' block: Just dc <- get declId
    In the expression:
      do { Just dc <- get declId;
           getDbModule dc }
    In an equation for `getDbModule':
        getDbModule (DbConstructor _ _ declId)
          = do { Just dc <- get declId;
                 getDbModule dc }

和一些其他信息:

$ ghc-pkg list mtl
/usr/local/Cellar/ghc/7.4.2/lib/ghc-7.4.2/package.conf.d
   mtl-2.1.2
/Users/eric/.ghc/x86_64-darwin-7.4.2/package.conf.d
$ ghc-pkg list transformers
/usr/local/Cellar/ghc/7.4.2/lib/ghc-7.4.2/package.conf.d
   transformers-0.3.0.0
/Users/eric/.ghc/x86_64-darwin-7.4.2/package.conf.d
$ ghc-pkg list haskeline
/usr/local/Cellar/ghc/7.4.2/lib/ghc-7.4.2/package.conf.d
/Users/eric/.ghc/x86_64-darwin-7.4.2/package.conf.d
   haskeline-0.7.0.3
4

1 回答 1

1

这是一个已知问题,请参阅https://github.com/JPMoresmau/scion-class-browser/issues/4。将在下一个版本中修复(也许我会在本周 2012 年 12 月 15 日左右发布)

于 2012-12-13T08:53:14.010 回答