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.
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.-
optics-extra Optics.Extra.Internal.Zoom No documentation available.
-
optics-extra Optics.Extra.Internal.Zoom No documentation available.
-
optics-extra Optics.Extra.Internal.Zoom No documentation available.
-
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.
-
optics-extra Optics.Zoom No documentation available.
-
optics-extra Optics.Zoom No documentation available.
-
resolv Network.DNS RFC 1035 (query)
areAny :: [a] -> (a -> Bool) -> Boolspeculate Test.Speculate.Utils No documentation available.
-
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.