Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Sequence and ViewL
class Sequence sq where Source #
singleton :: cat a b -> sq cat a b Source #
(><) :: sq cat a b -> sq cat b c -> sq cat a c infixr 8 Source #
Instances
Sequence FTCQueue Source # | |
Defined in Control.Monad.Freer.Par.FTCQueue empty :: forall (cat :: Type -> Type -> TYPE LiftedRep) a. FTCQueue cat a a Source # singleton :: cat a b -> FTCQueue cat a b Source # (><) :: forall (cat :: Type -> Type -> TYPE LiftedRep) a b c. FTCQueue cat a b -> FTCQueue cat b c -> FTCQueue cat a c Source # viewl :: forall (cat :: Type -> Type -> TYPE LiftedRep) a b. FTCQueue cat a b -> ViewL FTCQueue cat a b Source # |
Combinator
mapS :: (Applicative f, Sequence sq) => (forall x y. cat x y -> f (cat x y)) -> sq cat a b -> f (sq cat a b) Source #