git.iko.soy/typeable/bloodhound
on master help sign in
http-types-0.11, removed spurious oPath
dfae4abChris Allen
bloodhound.cabal+2−2
@@ -1,5 +1,5 @@
1name: bloodhound
1name: bloodhound
2−version: 0.15.0.0
2+version: 0.15.0.1
3synopsis: ElasticSearch client library for Haskell
3synopsis: ElasticSearch client library for Haskell
4description: ElasticSearch made awesome for Haskell hackers
4description: ElasticSearch made awesome for Haskell hackers
5homepage: https://github.com/bitemyapp/bloodhound
5homepage: https://github.com/bitemyapp/bloodhound
@@ -55,7 +55,7 @@ library
55 text >= 0.11 && <1.3,
55 text >= 0.11 && <1.3,
56 mtl >= 1.0 && <2.3,
56 mtl >= 1.0 && <2.3,
57 transformers >= 0.2 && <0.6,
57 transformers >= 0.2 && <0.6,
58− http-types >= 0.8 && <0.11,
58+ http-types >= 0.8 && <0.12,
59 vector >= 0.10.9 && <0.13,
59 vector >= 0.10.9 && <0.13,
60 scientific >= 0.3.0.0 && <0.4.0.0,
60 scientific >= 0.3.0.0 && <0.4.0.0,
61 exceptions,
61 exceptions,
src/Database/V5/Bloodhound/Client.hs−4
@@ -532,10 +532,6 @@ createIndexWith updates shards (IndexName indexName) =
532 )
532 )
533 ]
533 ]
534
534
535−oPath :: ToJSON a => NonEmpty Text -> a -> Value
536−oPath (k :| []) v = object [k .= v]
537−oPath (k:| (h:t)) v = object [k .= oPath (h :| t) v]
538−
539-- | 'deleteIndex' will delete an index given a 'Server', and an 'IndexName'.
535-- | 'deleteIndex' will delete an index given a 'Server', and an 'IndexName'.
540--
536--
541-- >>> _ <- runBH' $ createIndex defaultIndexSettings (IndexName "didimakeanindex")
537-- >>> _ <- runBH' $ createIndex defaultIndexSettings (IndexName "didimakeanindex")
stack-8.2.yaml+3
@@ -6,4 +6,7 @@ packages:
6 - '.'
6 - '.'
7 - './examples'
7 - './examples'
8
8
9+extra-deps:
10+ - http-types-0.11
11+
9resolver: lts-10.0
12resolver: lts-10.0