on master help sign in
Fixed typo in docs incorrectly referencing .:?
commitd93d3365110f2e9df8f8f982ecd54140e36e0b4e authorMichael Schade <michael@spearheaddev.com> dateSun 13 Feb 2011, 13:20 (16 years ago) parent1bc5cf9
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