Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. listEq :: forall (m :: Type -> Type) a . (Monad m, Eq a) => [a] -> Parser a m [a]

    streamly-core Streamly.Data.Parser

    Match the input sequence with the supplied list and return it if successful.

    >>> listEq = Parser.listEqBy (==)
    

  2. listEqBy :: forall (m :: Type -> Type) a . Monad m => (a -> a -> Bool) -> [a] -> Parser a m [a]

    streamly-core Streamly.Data.Parser

    Match the given sequence of elements using the given comparison function. Returns the original sequence if successful. Definition:

    >>> listEqBy cmp xs = Parser.streamEqBy cmp (Stream.fromList xs) *> Parser.fromPure xs
    
    Examples:
    >>> Stream.parse (Parser.listEqBy (==) "string") $ Stream.fromList "string"
    Right "string"
    
    >>> Stream.parse (Parser.listEqBy (==) "mismatch") $ Stream.fromList "match"
    Left (ParseError "streamEqBy: mismtach occurred")
    

  3. listEq :: forall (m :: Type -> Type) a . (Monad m, Eq a) => [a] -> Parser a m [a]

    streamly-core Streamly.Internal.Data.Parser

    Match the input sequence with the supplied list and return it if successful.

    >>> listEq = Parser.listEqBy (==)
    

  4. listEqBy :: forall (m :: Type -> Type) a . Monad m => (a -> a -> Bool) -> [a] -> Parser a m [a]

    streamly-core Streamly.Internal.Data.Parser

    Match the given sequence of elements using the given comparison function. Returns the original sequence if successful. Definition:

    >>> listEqBy cmp xs = Parser.streamEqBy cmp (Stream.fromList xs) *> Parser.fromPure xs
    
    Examples:
    >>> Stream.parse (Parser.listEqBy (==) "string") $ Stream.fromList "string"
    Right "string"
    
    >>> Stream.parse (Parser.listEqBy (==) "mismatch") $ Stream.fromList "match"
    Left (ParseError "streamEqBy: mismtach occurred")
    

  5. listProductEq :: forall w (t :: [Type]) . (forall a . () => w a -> Dict (Eq a)) -> ListType w t -> Dict (Eq (ListProduct t))

    witness Data.Type.Witness.Specific.List.Product

    No documentation available.

  6. listProductGetElement :: forall (list :: [Type]) t . ListElementType list t -> ListProduct list -> t

    witness Data.Type.Witness.Specific.List.Product

    No documentation available.

  7. listProductModifyElement :: forall (list :: [Type]) t . ListElementType list t -> (t -> t) -> ListProduct list -> ListProduct list

    witness Data.Type.Witness.Specific.List.Product

    No documentation available.

  8. listProductPutElement :: forall (list :: [Type]) t . ListElementType list t -> t -> ListProduct list -> ListProduct list

    witness Data.Type.Witness.Specific.List.Product

    No documentation available.

  9. listProductSequence :: forall f (list :: [Type]) . Applicative f => ListType f list -> f (ListProduct list)

    witness Data.Type.Witness.Specific.List.Product

    No documentation available.

  10. listProductShow :: forall w (t :: [Type]) . (forall a . () => w a -> Dict (Show a)) -> ListType w t -> Dict (Show (ListProduct t))

    witness Data.Type.Witness.Specific.List.Product

    No documentation available.

Page 27 of many | Previous | Next