Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Parse content stream
-
Process content stream operators maintaining graphics state It is pretty experimental
-
pdf-toolbox-content Pdf.Content.Processor Processor maintains graphics state
Processor :: GraphicsState -> [GraphicsState] -> GlyphDecoder -> [Span] -> Processorpdf-toolbox-content Pdf.Content.Processor No documentation available.
module Database.HDBC.PostgreSQL.
Persistable This module defines Persistable instances for PostgreSQL types
module Control.Applicative.
PhantomState Phantom State Transformer type and functions.
type
PhantomState s = PhantomStateT s Identityphantom-state Control.Applicative.PhantomState Type synonym of PhantomStateT where the underlying Monad is the Identity monad.
data
PhantomStateT s (m :: Type -> Type) aphantom-state Control.Applicative.PhantomState The Phantom State Transformer is like the State Monad Transformer, but it does not hold any value. Therefore, it automatically discards the result of any computation. Only changes in the state and effects will remain. This transformer produces a new Applicative functor from any Monad. The primitive operations in this functor are:
- useState: Performs effects. State is unchanged.
- changeState: Changes state. No effect is performed.
- useAndChangeState: Changes state and performs effects.
useState f = useAndChangeState (\s -> f s *> pure s) changeState f = useAndChangeState (pure . f)
So useAndChangeState is the only actual primitive. Use runPhantomStateT (or runPhantomState) to get the result of a phantom state computation.type
Producer b = Proxy X () () bpipes-group Pipes.Group Pure :: a -> FreeF (f :: Type -> Type) a bpipes-group Pipes.Group No documentation available.