1
Fork 0

Remove reference to mtl.

master
Joshua Potter 2019-12-16 11:07:46 -05:00
parent a8c5b43dc8
commit 6407fd56d1
7 changed files with 23 additions and 33 deletions

View File

@ -22,9 +22,8 @@ description: Please see the README on Github at
dependencies:
- base >=4.7 && <5
- bytestring >=0.10.8.1 && <0.11
- exceptions >=0.6 && <0.9
- free >=4.12 && <=5.0.1
- mtl >=2.2.1 && <2.3
- exceptions >=0.6 && <0.11
- free >=5.0.1 && <6
- text >=1.2.2.2 && <1.3
- transformers >=0.4 && <0.6

View File

@ -4,7 +4,7 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
-- hash: 279baf8a9c78e19c42e376ae268fa1e0869c2f0f3a7cf2c091f4d286fcaadcb6
-- hash: dfac36d217ad061f0c553491a9c1b6f14008ae9d0955634102e91bd883e19642
name: postlude
version: 0.1.1.0
@ -36,9 +36,8 @@ library
build-depends:
base >=4.7 && <5
, bytestring >=0.10.8.1 && <0.11
, exceptions >=0.6 && <0.9
, free >=4.12 && <=5.0.1
, mtl >=2.2.1 && <2.3
, exceptions >=0.6 && <0.11
, free >=5.0.1 && <6
, text >=1.2.2.2 && <1.3
, transformers >=0.4 && <0.6
default-language: Haskell2010

View File

@ -83,30 +83,18 @@ import Control.Monad.Catch as X
, try
)
import Control.Monad.Except as X
( MonadError, catchError, throwError
)
import Control.Monad.Reader as X
( MonadReader, ask, local, reader
)
import Control.Monad.State as X
( MonadState, get, put, state
)
import Control.Monad.Trans as X
import Control.Monad.IO.Class as X
( MonadIO, liftIO
, MonadTrans, lift
)
import Control.Monad.Writer as X
( MonadWriter, listen, pass, tell, writer
import Control.Monad.Trans.Class as X
( MonadTrans, lift
)
import Control.Monad.Trans.Except as X
( Except
, ExceptT, ExceptT(ExceptT), runExceptT
, catchE, throwE
)
import Control.Monad.Trans.Free as X
@ -119,6 +107,7 @@ import Control.Monad.Trans.Free as X
import Control.Monad.Trans.Reader as X
( Reader
, ReaderT, ReaderT(ReaderT), runReaderT
, ask, local, reader
)
import Data.Bits as X

View File

@ -5,13 +5,15 @@ module Postlude.Lazy
) where
import Control.Monad.Trans.State as L
( State
( State, runState
, StateT, StateT(StateT), runStateT
, get, put, state
)
import Control.Monad.Trans.Writer as L
( Writer
( Writer, runWriter
, WriterT, WriterT(WriterT), runWriterT
, listen, pass, tell, writer
)
import Data.ByteString.Lazy as L

View File

@ -5,13 +5,15 @@ module Postlude.Strict
) where
import Control.Monad.Trans.State.Strict as S
( State
( State, runState
, StateT, StateT(StateT), runStateT
, get, put, state
)
import Control.Monad.Trans.Writer.Strict as S
( Writer
( Writer, runWriter
, WriterT, WriterT(WriterT), runWriterT
, listen, pass, tell, writer
)
import Data.ByteString as S

View File

@ -8,8 +8,7 @@
# A snapshot resolver dictates the compiler version and the set of packages
# to be used for project dependencies. For example:
#
# resolver: lts-3.5
resolver: nightly-2018-03-14
resolver: lts-14.17
# resolver: ghc-7.10.2
# resolver: ghcjs-0.1.0_ghc-7.10.2
# resolver:

View File

@ -6,7 +6,7 @@
packages: []
snapshots:
- completed:
size: 188042
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2018/3/14.yaml
sha256: 2f1331f747e54e58abbc85754bacaf8dbd5a54444ee87d5757a2bafc0a4afa2f
original: nightly-2018-03-14
size: 524799
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/14/17.yaml
sha256: 1d72b33c0fc048e23f4f18fd76a6ad79dd1d8a3c054644098a71a09855e40c7c
original: lts-14.17