fix import formatting
This commit is contained in:
+32
-32
@@ -24,9 +24,9 @@ import qualified Applicative as X
|
|||||||
|
|
||||||
-- Maybe'ized version of partial functions
|
-- Maybe'ized version of partial functions
|
||||||
import Safe as X (
|
import Safe as X (
|
||||||
headMay,
|
headMay
|
||||||
initMay,
|
, initMay
|
||||||
tailMay
|
, tailMay
|
||||||
)
|
)
|
||||||
|
|
||||||
-- Applicatives
|
-- Applicatives
|
||||||
@@ -92,45 +92,45 @@ import Data.IntSet as X (IntSet)
|
|||||||
|
|
||||||
-- Monad transformers
|
-- Monad transformers
|
||||||
import Control.Monad.State as X (
|
import Control.Monad.State as X (
|
||||||
MonadState,
|
MonadState
|
||||||
State,
|
, State
|
||||||
StateT,
|
, StateT
|
||||||
put,
|
, put
|
||||||
get,
|
, get
|
||||||
gets,
|
, gets
|
||||||
modify,
|
, modify
|
||||||
withState,
|
, withState
|
||||||
|
|
||||||
runStateT,
|
, runStateT
|
||||||
execStateT,
|
, execStateT
|
||||||
evalStateT,
|
, evalStateT
|
||||||
)
|
)
|
||||||
|
|
||||||
import Control.Monad.Reader as X (
|
import Control.Monad.Reader as X (
|
||||||
MonadReader,
|
MonadReader
|
||||||
Reader,
|
, Reader
|
||||||
ReaderT,
|
, ReaderT
|
||||||
ask,
|
, ask
|
||||||
asks,
|
, asks
|
||||||
local,
|
, local
|
||||||
runReader,
|
, runReader
|
||||||
runReaderT,
|
, runReaderT
|
||||||
)
|
)
|
||||||
|
|
||||||
import Control.Monad.Except as X (
|
import Control.Monad.Except as X (
|
||||||
MonadError,
|
MonadError
|
||||||
Except,
|
, Except
|
||||||
ExceptT,
|
, ExceptT
|
||||||
throwError,
|
, throwError
|
||||||
catchError,
|
, catchError
|
||||||
runExcept,
|
, runExcept
|
||||||
runExceptT,
|
, runExceptT
|
||||||
)
|
)
|
||||||
|
|
||||||
import Control.Monad.Trans as X (
|
import Control.Monad.Trans as X (
|
||||||
MonadIO,
|
MonadIO
|
||||||
lift,
|
, lift
|
||||||
liftIO,
|
, liftIO
|
||||||
)
|
)
|
||||||
|
|
||||||
-- Base types
|
-- Base types
|
||||||
|
|||||||
Reference in New Issue
Block a user