From 0bd0b6a0144db9684814814e616b459a6c424fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Hahn?= Date: Thu, 28 Jan 2016 14:39:54 +0100 Subject: [PATCH] tutorial: fix for ghc-7.8 --- doc/tutorial/Server.lhs | 3 +++ doc/tutorial/tutorial.cabal | 1 + 2 files changed, 4 insertions(+) diff --git a/doc/tutorial/Server.lhs b/doc/tutorial/Server.lhs index 56add0ab..a6b7696c 100644 --- a/doc/tutorial/Server.lhs +++ b/doc/tutorial/Server.lhs @@ -46,6 +46,9 @@ need to have some language extensions and imports: module Server where +import Prelude () +import Prelude.Compat + import Control.Monad.IO.Class import Control.Monad.Reader import Control.Monad.Trans.Except diff --git a/doc/tutorial/tutorial.cabal b/doc/tutorial/tutorial.cabal index 54f24096..c22fd8aa 100644 --- a/doc/tutorial/tutorial.cabal +++ b/doc/tutorial/tutorial.cabal @@ -22,6 +22,7 @@ library -- other-modules: -- other-extensions: build-depends: base == 4.* + , base-compat , text , aeson , blaze-html