Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
singletons-base Prelude.Singletons No documentation available.
class SSemigroup a =>
SMonoid asingletons-base Prelude.Singletons No documentation available.
composOpMonoid :: (Uniplate a, Monoid m) => (a -> m) -> a -> muniplate Data.Generics.Compos composOpMonoid = composOpFold mempty mappend
-
polysemy Polysemy.Output Run an Output effect in terms of atomic operations in IO. Internally, this simply creates a new IORef, passes it to runOutputMonoidIORef, and then returns the result and the final value of the IORef. Beware: As this uses an IORef internally, all other effects will have local state semantics in regards to Output effects interpreted this way. For example, throw and catch will never revert outputs, even if runError is used after outputToIOMonoid.
-
polysemy Polysemy.Output Like outputToIOMonoid, but right-associates uses of <>. This asymptotically improves performance if the time complexity of <> for the Monoid depends only on the size of the first argument. You should always use this instead of outputToIOMonoid if the monoid is a list, such as String. Beware: As this uses an IORef internally, all other effects will have local state semantics in regards to Output effects interpreted this way. For example, throw and catch will never revert outputs, even if runError is used after outputToIOMonoidAssocR.
-
polysemy Polysemy.Output Run an Output effect by transforming it into a monoid, and accumulate it lazily. Warning: This inherits the nasty space leak issue of WriterT! Don't use this if you don't have to.
-
polysemy Polysemy.Output Like runLazyOutputMonoid, but right-associates uses of <>. This asymptotically improves performance if the time complexity of <> for the Monoid depends only on the size of the first argument. You should always use this instead of runLazyOutputMonoid if the monoid is a list, such as String. Warning: This inherits the nasty space leak issue of WriterT! Don't use this if you don't have to.
-
polysemy Polysemy.Output Run an Output effect by transforming it into a monoid.
-
polysemy Polysemy.Output Like runOutputMonoid, but right-associates uses of <>. This asymptotically improves performance if the time complexity of <> for the Monoid depends only on the size of the first argument. You should always use this instead of runOutputMonoid if the monoid is a list, such as String.
-
polysemy Polysemy.Output Run an Output effect by transforming it into atomic operations over an IORef.