on master help sign in
Fix parentheses around example in documentation
commit310bea804f72372936c47b3b239640bc36eed0b2 authorPhilippe Crama <pcfeb0009@gmx.com> dateFri 8 Sep 2017, 21:55 (9 years ago) parenta3f3260
1 file changed+1−1
Data/Aeson.hs+1−1
Data/Aeson.hs+1−1
@@ -381,7 +381,7 @@ eitherDecodeStrict' =
381381-- The 'Object' type contains JSON objects:
382382--
383383-- > λ> decode "{\"name\":\"Dave\",\"age\":2}" :: Maybe Object
384−-- > Just (fromList) [("name",String "Dave"),("age",Number 2)]
384+-- > Just (fromList [("name",String "Dave"),("age",Number 2)])
385385--
386386-- You can extract values from it with a parser using 'parse',
387387-- 'parseEither' or, in this example, 'parseMaybe':