Created
December 10, 2011 14:20
-
-
Save onlyshk/1455270 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instance ToJSON Auto where | |
toJSON (Auto firm year price sellers) = object [ "firm" .= firm, | |
"year" .= year, | |
"price" .= price, | |
"sellers" .= sellers | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment