File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ satisfy :: forall m. (Monad m) => (Char -> Boolean) -> ParserT String m Char
48
48
satisfy f = try do
49
49
c <- anyChar
50
50
if f c then return c
51
- else fail " Character did not satisfy predicate"
51
+ else fail $ " Character ' " ++ fromChar c ++ " ' did not satisfy predicate"
52
52
53
53
-- | Match the specified character
54
54
char :: forall m . (Monad m ) => Char -> ParserT String m Char
@@ -67,7 +67,7 @@ skipSpaces = do
67
67
return unit
68
68
69
69
-- | Match one of the characters in the array.
70
- oneOf :: forall s m a . (Monad m ) => Array Char -> ParserT String m Char
70
+ oneOf :: forall m . (Monad m ) => Array Char -> ParserT String m Char
71
71
oneOf ss = satisfy (flip elem ss)
72
72
73
73
-- | Match any character not in the array.
You can’t perform that action at this time.
0 commit comments