We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f383c8 commit 54ba93eCopy full SHA for 54ba93e
1 file changed
src/Text/Parsing/StringParser.purs
@@ -103,3 +103,6 @@ try (Parser p) = Parser \(s@{ pos }) -> lmap (_ { pos = pos}) (p s)
103
104
instance semigroupParser :: Semigroup a => Semigroup (Parser a) where
105
append = lift2 append
106
+
107
+instance monoidParser :: Monoid a => Monoid (Parser a) where
108
+ mempty = pure mempty
0 commit comments