base-compat in hoist-server-with-context
This commit is contained in:
parent
79caafe3fd
commit
f63610a513
2 changed files with 10 additions and 2 deletions
|
@ -25,8 +25,15 @@ for our logging example below.
|
||||||
This recipe uses the following ingredients:
|
This recipe uses the following ingredients:
|
||||||
|
|
||||||
```haskell
|
```haskell
|
||||||
{-# LANGUAGE OverloadedStrings, TypeFamilies, DataKinds,
|
{-# LANGUAGE DataKinds #-}
|
||||||
DeriveGeneric, TypeOperators #-}
|
{-# LANGUAGE DeriveGeneric #-}
|
||||||
|
{-# LANGUAGE OverloadedStrings #-}
|
||||||
|
{-# LANGUAGE TypeFamilies #-}
|
||||||
|
{-# LANGUAGE TypeOperators #-}
|
||||||
|
|
||||||
|
import Prelude ()
|
||||||
|
import Prelude.Compat
|
||||||
|
|
||||||
import Control.Monad.IO.Class (liftIO)
|
import Control.Monad.IO.Class (liftIO)
|
||||||
import Control.Monad.Reader
|
import Control.Monad.Reader
|
||||||
import Data.Aeson
|
import Data.Aeson
|
||||||
|
|
|
@ -16,6 +16,7 @@ tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.1
|
||||||
executable cookbook-hoist-server-with-context
|
executable cookbook-hoist-server-with-context
|
||||||
main-is: HoistServerWithContext.lhs
|
main-is: HoistServerWithContext.lhs
|
||||||
build-depends: base == 4.*
|
build-depends: base == 4.*
|
||||||
|
, base-compat
|
||||||
, text >= 1.2
|
, text >= 1.2
|
||||||
, aeson >= 1.2
|
, aeson >= 1.2
|
||||||
, data-default
|
, data-default
|
||||||
|
|
Loading…
Reference in a new issue