tutorial: fix for ghc-7.8
This commit is contained in:
parent
6cb529fc5f
commit
678d50796b
2 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,9 @@ need to have some language extensions and imports:
|
||||||
|
|
||||||
module Server where
|
module Server where
|
||||||
|
|
||||||
|
import Prelude ()
|
||||||
|
import Prelude.Compat
|
||||||
|
|
||||||
import Control.Monad.IO.Class
|
import Control.Monad.IO.Class
|
||||||
import Control.Monad.Reader
|
import Control.Monad.Reader
|
||||||
import Control.Monad.Trans.Except
|
import Control.Monad.Trans.Except
|
||||||
|
|
|
@ -22,6 +22,7 @@ library
|
||||||
-- other-modules:
|
-- other-modules:
|
||||||
-- other-extensions:
|
-- other-extensions:
|
||||||
build-depends: base == 4.*
|
build-depends: base == 4.*
|
||||||
|
, base-compat
|
||||||
, text
|
, text
|
||||||
, aeson
|
, aeson
|
||||||
, blaze-html
|
, blaze-html
|
||||||
|
|
Loading…
Reference in a new issue