We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54ba93e commit 6670834Copy full SHA for 6670834
src/Text/Parsing/StringParser.purs
@@ -26,7 +26,7 @@ type Pos = Int
26
type PosString = { str :: String, pos :: Pos }
27
28
-- | The type of parsing errors.
29
-data ParseError = ParseError String
+newtype ParseError = ParseError String
30
31
instance showParseError :: Show ParseError where
32
show (ParseError msg) = msg
0 commit comments