Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
modSum :: forall (m :: Type -> Type) a . (Monad m, Data a, Integral a) => a -> Cell m a aessence-of-live-coding-pulse LiveCoding.Pulse No documentation available.
wrapSum :: forall (m :: Type -> Type) a . (Monad m, Data a, RealFloat a) => Cell m a aessence-of-live-coding-pulse LiveCoding.Pulse Returns the sum of all incoming values, and wraps it between -1 and 1. This is to prevent floating number imprecision when the sum gets too large.
posSumC :: forall (m :: Type -> Type) a . (Monad m, Num a, Data a) => Cell m a aessence-of-live-coding-quickcheck LiveCoding.QuickCheck No documentation available.
asum :: (Foldable t, Alternative f) => t (f a) -> f afrisby Text.Parsers.Frisby 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"
-
generic-data-functions Generic.Data.Function.Common.Error No documentation available.
class
GContraNonSum (tag :: k) (gf :: k1 -> Type)generic-data-functions Generic.Data.Function.Contra No documentation available.
class
GContraSum (tag :: k) (gf :: k1 -> Type)generic-data-functions Generic.Data.Function.Contra No documentation available.
module Generic.Data.Function.Contra.
NonSum No documentation available.
class
GContraNonSum (tag :: k) (gf :: k1 -> Type)generic-data-functions Generic.Data.Function.Contra.NonSum No documentation available.
class
GContraNonSumD (tag :: k) (gf :: k1 -> Type)generic-data-functions Generic.Data.Function.Contra.NonSum No documentation available.