definition:
|
parseList :: Parser () -> Parser a -> Parser [a]
parseList psep pelem = ((:) <$> pelem <*> many (psep *!*> pelem)) <!> yield []
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Parses a list using a parser for the seperator and a parser for the list elements
|
failfree:
|
(_, _)
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_,_) |-> {<!>._#lambda7}}
|
name:
|
parseList
|
precedence:
|
no precedence defined
|
result-values:
|
{<!>._#lambda7}
|
signature:
|
(String -> [((), String)]) -> (String -> [(a, String)]) -> String
-> [([a], String)]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
reducible on all ground data terms
|