Hoogle Search

Within LTS Haskell 24.57 (ghc-9.10.3)

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

  1. many :: Alternative f => f a -> f [a]

    list-transformer List.Transformer

    Zero or more.

    Examples

    >>> many (putStr "la")
    lalalalalalalalala... * goes on forever *
    
    >>> many Nothing
    Just []
    
    >>> take 5 <$> many (Just 1)
    * hangs forever *
    
    Note that this function can be used with Parsers based on Applicatives. In that case many parser will attempt to parse parser zero or more times until it fails.

  2. rwsMagnifyMany :: forall k m w c (is :: IxList) a b s . (Is k A_Fold, Monad m, Monoid w, Monoid c) => Optic' k is a b -> (b -> s -> m (c, s, w)) -> a -> s -> m (c, s, w)

    optics-extra Optics.Extra.Internal.Zoom

    No documentation available.

  3. rwsZoomMany :: forall k m w c (is :: IxList) t s r . (Is k A_Traversal, Monad m, Monoid w, Monoid c) => Optic' k is t s -> (r -> s -> m (c, s, w)) -> r -> t -> m (c, t, w)

    optics-extra Optics.Extra.Internal.Zoom

    No documentation available.

  4. stateZoomMany :: forall k m c (is :: IxList) t s . (Is k A_Traversal, Monad m, Monoid c) => Optic' k is t s -> (s -> m (c, s)) -> t -> m (c, t)

    optics-extra Optics.Extra.Internal.Zoom

    No documentation available.

  5. class (MonadReader b m, MonadReader a n, Magnify m n b a) => MagnifyMany (m :: Type -> Type) (n :: Type -> Type) b a | m -> b, n -> a, m a -> n, n b -> m

    optics-extra Optics.Zoom

    Extends Magnify with an ability to magnify using a Fold over multiple targets so that actions for each one are executed sequentially and the results are aggregated. There is however no sensible instance of MagnifyMany for StateT.

  6. magnifyMany :: forall k c (is :: IxList) . (MagnifyMany m n b a, Is k A_Fold, Monoid c) => Optic' k is a b -> m c -> n c

    optics-extra Optics.Zoom

    No documentation available.

  7. zoomMany :: forall k c (is :: IxList) . (Zoom m n s t, Is k A_Traversal, Monoid c) => Optic' k is t s -> m c -> n c

    optics-extra Optics.Zoom

    No documentation available.

  8. TypeANY :: TypeSym

    resolv Network.DNS

    RFC 1035 (query)

  9. areAny :: [a] -> (a -> Bool) -> Bool

    speculate Test.Speculate.Utils

    No documentation available.

  10. package th-reify-many

    Recurseively reify template haskell datatype info th-reify-many provides functions for recursively reifying top level declarations. The main intended use case is for enumerating the names of datatypes reachable from an initial datatype, and passing these names to some function which generates instances.

Page 182 of many | Previous | Next