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.

  1. asum :: (Foldable t, Alternative f) => t (f a) -> f a

    relude Relude.Foldable.Reexport

    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"
    

  2. biasum :: (Bifoldable t, Alternative f) => t (f a) (f a) -> f a

    relude Relude.Foldable.Reexport

    The sum of a collection of actions, generalizing biconcat.

    Examples

    Basic usage:
    >>> biasum (Nothing, Nothing)
    Nothing
    
    >>> biasum (Nothing, Just 42)
    Just 42
    
    >>> biasum (Just 18, Nothing)
    Just 18
    
    >>> biasum (Just 18, Just 42)
    Just 18
    

  3. getSum :: Sum a -> a

    relude Relude.Monoid

    No documentation available.

  4. class GSerialiseSum (f :: k -> Type)

    serialise Codec.Serialise.Class

    Serialization of sum types

  5. decodeSum :: forall s (a :: k) . GSerialiseSum f => Word -> Decoder s (f a)

    serialise Codec.Serialise.Class

    Decode field

  6. encodeSum :: forall (a :: k) . GSerialiseSum f => f a -> Encoding

    serialise Codec.Serialise.Class

    Encode field

  7. ConsumeBool :: (Bool -> ST s (DecodeAction s a)) -> DecodeAction s a

    serialise Codec.Serialise.Decoding

    No documentation available.

  8. ConsumeBreakOr :: (Bool -> ST s (DecodeAction s a)) -> DecodeAction s a

    serialise Codec.Serialise.Decoding

    No documentation available.

  9. ConsumeByteArray :: (ByteArray -> ST s (DecodeAction s a)) -> DecodeAction s a

    serialise Codec.Serialise.Decoding

    No documentation available.

  10. ConsumeByteArrayCanonical :: (ByteArray -> ST s (DecodeAction s a)) -> DecodeAction s a

    serialise Codec.Serialise.Decoding

    No documentation available.

Page 112 of many | Previous | Next