1) Demos/MFlowPersistent.hs:47:1: Illegal instance declaration for
‘ToBackendKey SqlBackend BlogPost’
add MultiParamTypeClasses
2) Demos/MFlowPersistent.hs:48:1:
Can't make a derived instance of
‘path-pieces-0.1.5:Web.PathPieces.PathPiece (Key Person)’:
‘path-pieces-0.1.5:Web.PathPieces.PathPiece’ is not a derivable
class
add GeneralizedNewtypeDeriving
3) Demos/MFlowPersistent.hs:59:25:
No instance for (Control.Monad.Logger.MonadLogger IO)
arising from a use of ‘createSqlitePool’
wrap in runNoLoggingT
~
ghc --version:
The Glorious Glasgow Haskell Compilation System, version 7.8.3
when trying to cabal build Demos
1) Demos/MFlowPersistent.hs:47:1: Illegal instance declaration for ‘ToBackendKey SqlBackend BlogPost’
add MultiParamTypeClasses
2) Demos/MFlowPersistent.hs:48:1: Can't make a derived instance of ‘path-pieces-0.1.5:Web.PathPieces.PathPiece (Key Person)’: ‘path-pieces-0.1.5:Web.PathPieces.PathPiece’ is not a derivable class
add GeneralizedNewtypeDeriving
3) Demos/MFlowPersistent.hs:59:25: No instance for (Control.Monad.Logger.MonadLogger IO) arising from a use of ‘createSqlitePool’
~
ghc --version: The Glorious Glasgow Haskell Compilation System, version 7.8.3