CurryInfo: curry-interface-2.0.1 / CurryInterface.Parser.parenthesize

definition:
parenthesize :: Parser String -> Parser String
parenthesize p = parens <$> (tokenParenL *> p <* tokenParenR)
    where
    parens s = "(" ++ s ++ ")"
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Parses a string with enclosing parantheses
failfree:
_
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_) |-> {.._#lambda508}}
name:
parenthesize
precedence:
no precedence defined
result-values:
{.._#lambda508}
signature:
(String -> [(String, String)]) -> String -> [(String, String)]
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
reducible on all ground data terms