man package:base

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.
Parses zero or more occurrences of the given parser.
Parses one or more occurrences of the given parser.
manyTill p end parses zero or more occurrences of p, until end succeeds. Returns a list of values returned by p.
Replicates a withXXX combinator over a list of objects, yielding a list of marshalled objects
Like many, but discards the result.
Like many1, but discards the result.
Interrupts the current wait of the I/O manager if it is currently blocked. This instructs it to re-read how much it should wait and to process any pending events.
The event manager state.
The event manager state.
Retrieve the system event manager for the capability on which the calling thread is running. This function always returns Just the current thread's event manager when using the threaded RTS and Nothing otherwise.
cross-platform, threaded RTS only
Unix only, non-threaded RTS only
Windows only, non-threaded RTS only
Windows only