Commits

Anonymous committed c39f4be

Update Aeson.hs

Coord -> Person

Comments (0)

Files changed (1)

 --
 -- > {-# LANGUAGE OverloadedStrings #-}
 -- >
--- > instance FromJSON Coord where
+-- > instance FromJSON Person where
 -- >     parseJSON (Object v) = Person <$>
 -- >                            v .: "name" <*>
 -- >                            v .: "age"