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.
-
cacophony Crypto.Noise.Internal.NoiseState Resumes a handshake in progress using the given input data.
asum :: (Foldable t, Alternative f) => t (f a) -> f acalligraphy Calligraphy.Prelude 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"
msum :: (Foldable t, MonadPlus m) => t (m a) -> m acalligraphy Calligraphy.Prelude The sum of a collection of actions using (<|>), generalizing concat. msum is just like asum, but specialised to MonadPlus.
Examples
Basic usage, using the MonadPlus instance for Maybe:>>> msum [Just "Hello", Nothing, Just "World"] Just "Hello"
CustomSum :: Text -> DataRepr' -> Size -> [(ConstrRepr', Text)] -> HWTypeclash-lib Clash.Netlist.Types Same as Sum, but with a user specified bit representation. For more info, see: Clash.Annotations.BitRepresentations.
isRedundantBySubsumption :: Defn -> Boolcode-conjure Conjure.Defn.Redundancy Returns whether the given Defn is redundant with regards to subsumption by latter patterns Here is an example of a redundant Defn by this criterium:
foo 0 = 0 foo x = x
subsumedWith :: (Expr -> Expr) -> Bndn -> Bndn -> Boolcode-conjure Conjure.Defn.Redundancy Returns whether a binding is subsumed by another modulo rewriting
> let normalize = (// [(zero -+- zero, zero)]) > subsumedWith normalize (ff zero, zero) (ff xx, xx -+- xx) True
> subsumedWith normalize (ff zero, zero) (ff xx, xx -+- one) False
> subsumedWith normalize (zero -?- xx, zero) (xx -?- yy, xx -+- xx) True
(cf. isRedundantModuloRewriting)-
codec-beam Codec.Beam.Bifs No documentation available.
Erlang'resume_process :: Erlang'resume_processcodec-beam Codec.Beam.Bifs No documentation available.
absSum :: (C sh, Floating a) => Vector sh a -> RealOf acomfort-blas Numeric.BLAS.Vector Sum of the absolute values of real numbers or components of complex numbers. For real numbers it is equivalent to norm1.
absSum :: (C sh, Floating a) => T shA sh a -> RealOf acomfort-blas Numeric.BLAS.Vector.Slice Sum of the absolute values of real numbers or components of complex numbers. For real numbers it is equivalent to norm1.