mirror of
https://github.com/typeable/bloodhound.git
synced 2024-11-29 12:54:15 +03:00
reformatting, gitignore
This commit is contained in:
parent
52172d030d
commit
3dbcca4299
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,3 +4,5 @@ dist/
|
||||
.project
|
||||
.dist-buildwrapper/
|
||||
.DS_Store
|
||||
*.hi
|
||||
*.o
|
||||
|
@ -50,8 +50,8 @@ data TweetMapping = TweetMapping deriving (Eq, Show)
|
||||
instance ToJSON TweetMapping where
|
||||
toJSON TweetMapping =
|
||||
object ["tweet" .=
|
||||
object ["properties" .=
|
||||
object ["location" .= object ["type" .= ("geo_point" :: Text)]]]]
|
||||
object ["properties" .=
|
||||
object ["location" .= object ["type" .= ("geo_point" :: Text)]]]]
|
||||
|
||||
exampleTweet :: Tweet
|
||||
exampleTweet = Tweet { user = "bitemyapp"
|
||||
|
Loading…
Reference in New Issue
Block a user