Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
type
Consumer i (m :: Type -> Type) r = forall o . () => ConduitT i o m rclassy-prelude-yesod ClassyPrelude.Yesod A component which consumes a stream of input values and produces a final result, regardless of the output stream. A Consumer is a generalization of a Sink, and can be used as either a Sink or a Conduit. Since 1.0.0
asum :: (Foldable t, Alternative f) => t (f a) -> f aclassy-prelude-yesod ClassyPrelude.Yesod The sum of a collection of actions using (<|>), generalizing concat. asum is just like msum, but generalised to Alternative.
Examples
Basic usage:>>> asum [Just "Hello", Nothing, Just "World"] Just "Hello"
asumC :: forall (m :: Type -> Type) f a o . (Monad m, Alternative f) => ConduitT (f a) o m (f a)classy-prelude-yesod ClassyPrelude.Yesod Alternatively combine all values in the stream.
isEntitySum :: EntityDef -> Boolclassy-prelude-yesod ClassyPrelude.Yesod No documentation available.
osum :: (MonoFoldable mono, Num (Element mono)) => mono -> Element monoclassy-prelude-yesod ClassyPrelude.Yesod osum computes the sum of the numbers of a monomorphic container.
toConsumer :: forall (m :: Type -> Type) a b o . Monad m => ConduitT a Void m b -> ConduitT a o m bclassy-prelude-yesod ClassyPrelude.Yesod -
constrained-categories Control.Category.Constrained No documentation available.
boolAsSum :: (CoCartesian k, ObjectSum k u u, u ~ UnitObject k, Object k Bool) => k Bool (u + u)constrained-categories Control.Category.Constrained No documentation available.
boolFromSum :: (CoCartesian k, ObjectSum k u u, u ~ UnitObject k, Object k Bool) => k (u + u) Boolconstrained-categories Control.Category.Constrained No documentation available.
-
constrained-categories Control.Category.Constrained No documentation available.