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 ecb6a3f commit ea96e73Copy full SHA for ea96e73
src/Text/Parsing/Parser/Stream.purs
@@ -97,7 +97,7 @@ satisfy :: forall s t m. Stream s m t => Show t => Monad m => (t -> Boolean) ->
97
satisfy f = tryRethrow do
98
c <- token
99
if f c then pure c
100
- else fail $ "Character " <> show c <> " did not satisfy predicate"
+ else fail $ "Token " <> show c <> " did not satisfy predicate"
101
102
-- | Match the specified token
103
match :: forall s t m. Stream s m t => Eq t => Show t => Monad m => t -> ParserT s m t
0 commit comments