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: dependencies:
- base >=4.7 && <5 - base >=4.7 && <5
- bytestring >=0.10.8.1 && <0.11 - bytestring >=0.10.8.1 && <0.11
- exceptions >=0.6 && <0.9 - exceptions >=0.6 && <0.11
- free >=4.12 && <=5.0.1 - free >=5.0.1 && <6
- mtl >=2.2.1 && <2.3
- text >=1.2.2.2 && <1.3 - text >=1.2.2.2 && <1.3
- transformers >=0.4 && <0.6 - transformers >=0.4 && <0.6

View File

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

View File

@ -83,30 +83,18 @@ import Control.Monad.Catch as X
, try , try
) )
import Control.Monad.Except as X import Control.Monad.IO.Class 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
( MonadIO, liftIO ( MonadIO, liftIO
, MonadTrans, lift
) )
import Control.Monad.Writer as X import Control.Monad.Trans.Class as X
( MonadWriter, listen, pass, tell, writer ( MonadTrans, lift
) )
import Control.Monad.Trans.Except as X import Control.Monad.Trans.Except as X
( Except ( Except
, ExceptT, ExceptT(ExceptT), runExceptT , ExceptT, ExceptT(ExceptT), runExceptT
, catchE, throwE
) )
import Control.Monad.Trans.Free as X 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 import Control.Monad.Trans.Reader as X
( Reader ( Reader
, ReaderT, ReaderT(ReaderT), runReaderT , ReaderT, ReaderT(ReaderT), runReaderT
, ask, local, reader
) )
import Data.Bits as X import Data.Bits as X

View File

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

View File

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

View File

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

View File

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