Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class MonadMonoid m where Source
MonadMonoid (Parser t) Source |
MonadBot (PathSensitiveM val) Source | |
Join val => MonadBot (FlowInsensitiveM val) Source | |
Join val => MonadBot (FlowSensitiveM val) Source | |
MonadBot m => MonadBot (PolyStateT s m) Source |
class MonadJoin m where Source
MonadJoin (PathSensitiveM val) Source | |
Join val => MonadJoin (FlowInsensitiveM val) Source | |
Join val => MonadJoin (FlowSensitiveM val) Source | |
MonadJoin m => MonadJoin (PolyStateT s m) Source |
class (MonadBot m, MonadJoin m) => MonadJoinLattice m Source
MonadJoinLattice (PathSensitiveM val) Source | |
Join val => MonadJoinLattice (FlowInsensitiveM val) Source | |
Join val => MonadJoinLattice (FlowSensitiveM val) Source | |
MonadJoinLattice m => MonadJoinLattice (PolyStateT s m) Source |
mnullMaybe :: (Monad m, MonadMonoid m) => Maybe a -> m a Source
mconcat :: (MonadMonoid m, ToFold (m a) t) => t -> m a Source
mlist :: (Monad m, MonadMonoid m, ToFold a t) => t -> m a Source
msum :: (MonadJoinLattice m, ToFold (m a) t) => t -> m a Source
mset :: (Monad m, MonadJoinLattice m, ToFold a t) => t -> m a Source
type MonadRWS r o s m = (MonadReader r m, MonadWriter o m, MonadState s m) Source
FailureT | |
|
class MonadFailure m where Source
MonadFailure PrettyM Source | |
MonadFailure (GreedyParser t) Source | |
(Functor m, Monoid o, MonadFailure m) => MonadFailure (RWST r o s m) Source |
effMaybe :: MonadFailure m => m (Maybe a) -> m a Source
abort :: (Monad m, MonadFailure m) => m a Source
abortMaybe :: (Monad m, MonadFailure m) => Maybe a -> m a Source
obsMaybe :: MonadFailure m => m a -> m (Maybe a) Source
(<|>) :: (Monad m, MonadFailure m) => m a -> m a -> m a Source
tries :: (Monad m, MonadFailure m) => [m a] -> m a Source
FunctorFunctor (ErrorT e) Source | |
FunctorDiscard (ErrorT e) Source | |
FunctorUnit (ErrorT e) Source |
class MonadError e m | m -> e where Source
MonadError Doc StampM Source | |
(Functor m, Monoid o, MonadError e m) => MonadError e (RWST r o s m) Source |
effError :: MonadError e m => m (e ⨄ a) -> m a Source
throw :: (Monad m, MonadError e m) => e -> m a Source
throwSum :: (Monad m, MonadError e m) => (e ⨄ a) -> m a Source
throwMaybe :: (Monad m, MonadError e m) => e -> Maybe a -> m a Source
obsError :: MonadError e m => m a -> m (e ⨄ a) Source
catch :: (Monad m, MonadError e m) => m a -> (e -> m a) -> m a Source
ReaderT | |
|
FunctorFunctor (ReaderT * r) Source | |
FunctorDiscard (ReaderT * r) Source | |
FunctorUnit (ReaderT * r) Source |
class MonadReader r m | m -> r where Source
MonadReader PrettyEnv PrettyM Source | |
MonadReader StampEnv StampM Source | |
Functor m => MonadReader r (RWST r o s m) Source | |
MonadReader (ParserEnv * t) (Parser t) Source | |
MonadReader (ParserEnv * t) (GreedyParser t) Source |
runReaderTWith :: r -> ReaderT r m a -> m a Source
effReader :: MonadReader r m => (r -> m a) -> m a Source
ask :: (Monad m, MonadReader r m) => m r Source
askL :: (Monad m, MonadReader r m) => Lens r a -> m a Source
obsReader :: MonadReader r m => m a -> r -> m a Source
local :: MonadReader r m => (r -> r) -> m a -> m a Source
localOn :: MonadReader r m => m a -> (r -> r) -> m a Source
WriterT | |
|
FunctorFunctor (WriterT o) Source | |
FunctorDiscard (WriterT o) Source | |
Monoid o => FunctorUnit (WriterT o) Source |
class MonadWriter o m | m -> o where Source
MonadWriter PrettyOut PrettyM Source | |
(Functor m, Monoid o) => MonadWriter o (RWST r o s m) Source | |
MonadWriter (ParserOut t) (Parser t) Source | |
MonadWriter (ParserOut t) (GreedyParser t) Source |
execWriterT :: Functor m => WriterT o m a -> m o Source
effWriter :: MonadWriter o m => m (a, o) -> m a Source
tell :: (Monad m, MonadWriter o m) => o -> m () Source
obsWriter :: MonadWriter o m => m a -> m (a, o) Source
hijack :: MonadWriter o m => m a -> m (a, o) Source
FunctorFunctor (StateT s) Source | |
FunctorDiscard (StateT s) Source | |
FunctorUnit (StateT s) Source | |
GaloisTransformer ς m => GaloisTransformer (StateΠ s ς) (StateT s m) Source |
class MonadState s m | m -> s where Source
MonadState PrettyState PrettyM Source | |
MonadState StampState StampM Source | |
Functor m => MonadState s (PolyStateT s m) Source | |
Functor m => MonadState s (RWST r o s m) Source | |
MonadState (ParserState t) (Parser t) Source | |
MonadState (ParserState t) (GreedyParser t) Source | |
MonadState (LamIfState val) (PathSensitiveM val) Source | |
Join val => MonadState (LamIfState val) (FlowInsensitiveM val) Source | |
Join val => MonadState (LamIfState val) (FlowSensitiveM val) Source |
runStateTWith :: s -> StateT s m a -> m (a, s) Source
evalStateTWith :: Functor m => s -> StateT s m a -> m a Source
execStateTWith :: Functor m => s -> StateT s m a -> m s Source
effState :: MonadState s m => (s -> m (a, s)) -> m a Source
get :: (Monad m, MonadState s m) => m s Source
getL :: (Monad m, MonadState s m) => Lens s a -> m a Source
put :: (Monad m, MonadState s m) => s -> m () Source
putL :: (Monad m, MonadState s m) => Lens s a -> a -> m () Source
modifyM :: (Monad m, MonadState s m) => (s -> m s) -> m () Source
modifyLM :: (Monad m, MonadState s m) => Lens s a -> (a -> m a) -> m () Source
modify :: (Monad m, MonadState s m) => (s -> s) -> m () Source
modifyL :: (Monad m, MonadState s m) => Lens s a -> (a -> a) -> m () Source
getAndPut :: (Monad m, MonadState s m) => s -> m s Source
getAndPutL :: (Monad m, MonadState s m) => Lens s a -> a -> m a Source
next :: (Monad m, MonadState s m, Peano s) => m s Source
bump :: (Monad m, MonadState s m, Peano s) => m () Source
obsState :: MonadState s m => m a -> s -> m (a, s) Source
localize :: (Monad m, MonadState s m) => m a -> m (a, s) Source
newtype NondetAppendT m a Source
NondetAppendT | |
|
class MonadNondetAppend m where Source
nondetAppendE :: NondetAppendT m ↝ m Source
nondetAppendI :: m ↝ NondetAppendT m Source
newtype NondetJoinT m a Source
NondetJoinT | |
|
class MonadNondetJoin m where Source
nondetJoinE :: NondetJoinT m ↝ m Source
nondetJoinI :: m ↝ NondetJoinT m Source
newtype FlowAppendT s m a Source
FlowAppendT | |
|
FunctorFunctor (FlowAppendT s) Source | |
Monoid s => FunctorDiscard (FlowAppendT s) Source | |
FunctorUnit (FlowAppendT s) Source |
class MonadFlowAppend s m | m -> s where Source
flowAppendE :: FlowAppendT s m ↝ m Source
flowAppendI :: m ↝ FlowAppendT s m Source
newtype FlowJoinT s m a Source
FlowJoinT | |
|
FunctorFunctor (FlowJoinT s) Source | |
JoinLattice s => FunctorDiscard (FlowJoinT s) Source | |
FunctorUnit (FlowJoinT s) Source | |
(GaloisTransformer ς m, Functorial * JoinLattice m, JoinLattice s) => GaloisTransformer (FlowJoinΠ s ς) (FlowJoinT s m) Source |
class MonadFlowJoin s m | m -> s where Source
newtype OpaqueContT k r m a Source
OpaqueContT | |
|
Isomorphic3 * (* -> *) (ContFun * r) (k r) => FunctorIsoFunctor (OpaqueContT * * k r) Source |
class MonadOpaqueCont k r m | m -> k, m -> r where Source
opaqueContE :: OpaqueContT k r m ↝ m Source
opaqueContI :: m ↝ OpaqueContT k r m Source
ContFun | |
|
runOpaqueContTWith :: k r m a -> OpaqueContT k r m a -> m r Source
evalOpaqueContT :: (Monad m, Isomorphic3 (ContFun r) (k r)) => OpaqueContT k r m r -> m r Source
runMetaContT :: Isomorphic3 (ContFun r) (k r) => OpaqueContT k r m a -> (a -> m r) -> m r Source
runMetaContTWith :: Isomorphic3 (ContFun r) (k r) => (a -> m r) -> OpaqueContT k r m a -> m r Source
metaContT :: Isomorphic3 (ContFun r) (k r) => ((a -> m r) -> m r) -> OpaqueContT k r m a Source
meta :: Isomorphic3 (ContFun r) (k r) => OpaqueContT k r m ↝ ContT r m Source
opaque :: Isomorphic3 (ContFun r) (k r) => ContT r m ↝ OpaqueContT k r m Source
effOpaqueCont :: MonadOpaqueCont k r m => (k r m a -> m r) -> m a Source
callCCOpaque :: MonadOpaqueCont k r m => (k r m a -> m r) -> m a Source
obsOpaqueCont :: MonadOpaqueCont k r m => m a -> k r m a -> m r Source
withCOpaque :: MonadOpaqueCont k r m => k r m a -> m a -> m r Source