on master help sign in
Merge doc fix
commit3fd2cc2987ae0b130a95f71a058c4ade9db6371d authorBryan O'Sullivan <bos@serpentine.com> dateTue 15 Feb 2011, 20:48 (16 years ago) parenta6ff36ed93d336
1 file changed+1−1
Data/Aeson/Types.hs+1−1
Data/Aeson/Types.hs+1−1
@@ -192,7 +192,7 @@ obj .: key = case M.lookup key obj of
192192--
193193-- This accessor is most useful if the key and value can be absent
194194-- from an object without affecting its validity. If the key and
195−-- value are mandatory, use '(.:?)' instead.
195+-- value are mandatory, use '(.:)' instead.
196196(.:?) :: (FromJSON a) => Object -> Text -> Parser (Maybe a)
197197obj .:? key = case M.lookup key obj of
198198 Nothing -> pure Nothing