Skip to content

Commit 1be0aa1

Browse files
committed
Parens
1 parent f105646 commit 1be0aa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Text/Parsing/Parser/String.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,11 @@ noneOf ss = satisfy (flip notElem ss) <?> ("none of " <> show ss)
127127

128128
-- | Match one of the Unicode characters in the array.
129129
oneOfCodePoints :: forall m. Monad m => Array CodePoint -> ParserT String m CodePoint
130-
oneOfCodePoints ss = satisfyCodePoint (flip elem ss) <|> defer \_ -> fail ("Expected one of " <> show (singleton <$> ss))
130+
oneOfCodePoints ss = satisfyCodePoint (flip elem ss) <|> defer \_ -> fail $ "Expected one of " <> show (singleton <$> ss)
131131

132132
-- | Match any Unicode character not in the array.
133133
noneOfCodePoints :: forall m. Monad m => Array CodePoint -> ParserT String m CodePoint
134-
noneOfCodePoints ss = satisfyCodePoint (flip notElem ss) <|> defer \_ -> fail ("Expected none of " <> show (singleton <$> ss))
134+
noneOfCodePoints ss = satisfyCodePoint (flip notElem ss) <|> defer \_ -> fail $ "Expected none of " <> show (singleton <$> ss)
135135

136136
-- | Updates a `Position` by adding the columns and lines in `String`.
137137
updatePosString :: Position -> String -> Position

0 commit comments

Comments
 (0)