man -package:http-client

Conversion of man to Pandoc document.
Conversion of Pandoc documents to roff man page format.
A manual page prompt for XMonad window manager. TODO
  • narrow completions by section number, if the one is specified (like /etc/bash_completion does)
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.
Synonym for 'Many, from ghc-prim.
many p applies the parser p zero or more times. Returns a list of the returned values of p.
identifier  = do{ c  <- letter
; cs <- many (alphaNum <|> char '_')
; return (c:cs)
}
many1 p applies the parser p one or more times. Returns a list of the returned values of p.
word  = many1 letter
manyTill p end applies parser p zero or more times until parser end succeeds. Returns the list of values returned by p. This parser can be used to scan comments:
simpleComment   = do{ string "<!--"
; manyTill anyChar (try (string "-->"))
}
Note the overlapping parsers anyChar and string "-->", and therefore the use of the try combinator.
many' p applies the action p zero or more times. Returns a list of the returned values of p. The value returned by p is forced to WHNF.
word  = many' letter
many1 p applies the action p one or more times. Returns a list of the returned values of p.
word  = many1 letter
many1' p applies the action p one or more times. Returns a list of the returned values of p. The value returned by p is forced to WHNF.
word  = many1' letter
manyTill p end applies action p zero or more times until action end succeeds, and returns the list of values returned by p. This can be used to scan comments:
simpleComment   = string "<!--" *> manyTill anyChar (string "-->")
(Note the overlapping parsers anyChar and string "-->". While this will work, it is not very efficient, as it will cause a lot of backtracking.)
manyTill' p end applies action p zero or more times until action end succeeds, and returns the list of values returned by p. This can be used to scan comments:
simpleComment   = string "<!--" *> manyTill' anyChar (string "-->")
(Note the overlapping parsers anyChar and string "-->". While this will work, it is not very efficient, as it will cause a lot of backtracking.) The value returned by p is forced to WHNF.
Set the proxy override value, only for HTTP (insecure) connections. Since 0.4.7
Set the proxy override value, for both HTTP (insecure) and HTTPS (insecure) connections. Since 0.4.7