git.iko.soy/typeable/bloodhound
on master help sign in
reformatting, gitignore
commit3dbcca42997227a95081651aa7d92dafedac9c2b authorChris Allen <cma@bitemyapp.com> dateSat 14 Jun 2014, 21:27 (12 years ago) parent52172d0
2 files changed+4−2
.gitignore+2 tests/tests.hs+2−2
.gitignore+2
@@ -4,3 +4,5 @@ dist/
44.project
55.dist-buildwrapper/
66.DS_Store
7+*.hi
8+*.o
tests/tests.hs+2−2
@@ -50,8 +50,8 @@ data TweetMapping = TweetMapping deriving (Eq, Show)
5050instance ToJSON TweetMapping where
5151 toJSON TweetMapping =
5252 object ["tweet" .=
53− object ["properties" .=
54− object ["location" .= object ["type" .= ("geo_point" :: Text)]]]]
53+ object ["properties" .=
54+ object ["location" .= object ["type" .= ("geo_point" :: Text)]]]]
5555
5656exampleTweet :: Tweet
5757exampleTweet = Tweet { user = "bitemyapp"