packages feed

hasbolt-extras 0.0.0.9 → 0.0.0.10

raw patch · 3 files changed

+6/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -6,6 +6,10 @@  ## [Unreleased] +## [0.0.0.10] - 2018-05-24+### Changed+- Fixed conditions.+ ## [0.0.0.9] - 2018-05-18 ### Added - New types for conditions in `DSL`.
hasbolt-extras.cabal view
@@ -1,5 +1,5 @@ name:           hasbolt-extras-version:        0.0.0.9+version:        0.0.0.10 synopsis:       Extras for hasbolt library description:    Extras for hasbolt library homepage:       https://github.com/biocad/hasbolt-extras#readme
src/Database/Bolt/Extras/DSL/Internal/Instances.hs view
@@ -91,7 +91,7 @@ instance ToCypher Cond where   toCypher (ID t bId)   = pack $ printf "ID(%s)=%d" t (fromInt bId)   toCypher (IDs t bIds) = pack $ printf "ID(%s) in [%s]" t (intercalate ", " $ fmap (pack . show) bIds)-  toCypher (IN t txts)  = pack $ printf "ID(%s) in [%s]" t (intercalate ", " $ fmap (\s -> [text|"$s"|]) txts)+  toCypher (IN t txts)  = pack $ printf "%s in [%s]" t (intercalate ", " $ fmap (\s -> [text|"$s"|]) txts)   toCypher (TC txt)     = txt  instance ToCypher Conds where