CurryInfo: det-parse-3.0.0 / DetParse.parse

definition: Info
 
parse :: Parser a -> String -> Maybe a
parse p s = case filter (null . snd) $ p s of
  ((x, _):_) -> Just x
  _          -> Nothing
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Applies a parser to a string. If it succeeds, returns the result of the
parser. Returns `Nothing` if it does not.
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> {Just,Nothing}}
name: Info
 parse
precedence: Info
 no precedence defined
result-values: Info
 {Just,Nothing}
signature: Info
 (String -> [(a, String)]) -> String -> Prelude.Maybe a
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms