Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
run :: (ErrorsPretty s, Ord s, Show a) => String -> Parser s a -> [s] -> a Source #
replacement for Main.run
in P3-CSharp
that uses parseImproved
,
specifies the corresponding type class constraints, ensures library
level error reporting for partial parses, and parses and prints to
standard error (stderr) once instead of twice