Skip to content

Commit ea96e73

Browse files
committed
use correct wording in setisfy
1 parent ecb6a3f commit ea96e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Text/Parsing/Parser/Stream.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ satisfy :: forall s t m. Stream s m t => Show t => Monad m => (t -> Boolean) ->
9797
satisfy f = tryRethrow do
9898
c <- token
9999
if f c then pure c
100-
else fail $ "Character " <> show c <> " did not satisfy predicate"
100+
else fail $ "Token " <> show c <> " did not satisfy predicate"
101101

102102
-- | Match the specified token
103103
match :: forall s t m. Stream s m t => Eq t => Show t => Monad m => t -> ParserT s m t

0 commit comments

Comments
 (0)