Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.Seqn.Internal.Util
Description
This is an internal module. You probably don't need to import this. Use Data.Seqn.Seq, Data.Seqn.MSeq, or Data.Seqn.PQueue instead.
The only reason to use this module is to use the constructs defined here with other internal modules.
Documentation
class Bifunctor p => Biapplicative p where Source #
Methods
bipure :: a -> b -> p a b Source #
biliftA2 :: (a -> b -> c) -> (d -> e -> f) -> p a d -> p b e -> p c f Source #
Instances
Biapplicative S2 Source # | |
Biapplicative Tagged Source # | |
Biapplicative (Const :: Type -> Type -> Type) Source # | |
Constructors
S2 !a !b |
newtype SStateT s m a Source #
Constructors
SStateT | |
Fields
|
evalSStateT :: Functor m => SStateT s m a -> s -> m a Source #
evalSState :: SState s a -> s -> a Source #