on master help sign in
Merge pull request #669 from seagreen/spelling
b48e042Adam Bergmark
Data/Aeson/Types/FromJSON.hs+1−1
@@ -658,7 +658,7 @@ withScientific expected _ v = typeMismatch expected v
658-- when @value@ is a 'Number' and fails using @'typeMismatch' expected@
658-- when @value@ is a 'Number' and fails using @'typeMismatch' expected@
659-- otherwise.
659-- otherwise.
660--
660--
661−-- The conversion will also fail wyth a @'typeMismatch' if the
661+-- The conversion will also fail with a @'typeMismatch' if the
662-- 'Scientific' exponent is larger than 1024.
662-- 'Scientific' exponent is larger than 1024.
663withBoundedScientific :: String -> (Scientific -> Parser a) -> Value -> Parser a
663withBoundedScientific :: String -> (Scientific -> Parser a) -> Value -> Parser a
664withBoundedScientific _ f v@(Number scientific) =
664withBoundedScientific _ f v@(Number scientific) =