packages feed

mustache-haskell 0.1.0.4 → 0.1.0.5

raw patch · 3 files changed

+5/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

README.md view
@@ -65,7 +65,7 @@   ```-{{#hobbies, }}{{#name}}{{/hobbies}}+{{#hobbies, }}{{name}}{{/hobbies}} ```  This designates `", "` as the list separator and will output
Text/Mustache.hs view
@@ -38,7 +38,9 @@               evalItem loopValue = mconcat $ map (chunkToBuilder $ mergeValues v loopValue) chunks           in mconcat $ intersperse (maybe mempty B.fromText sep) $ map evalItem $ V.toList v'       x@(Object _) -> mconcat $ map (chunkToBuilder $ mergeValues v x) chunks -      _ -> mempty+      Bool False -> mempty+      Null -> mempty+      _ -> mconcat $ map (chunkToBuilder v) chunks  chunkToBuilder v (InvertedSection ks chunks) =      case evalKeyPath ks v of       Null -> chunkToBuilder v (Section (init ks) chunks Nothing)
mustache-haskell.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                mustache-haskell -version:             0.1.0.4+version:             0.1.0.5 synopsis:            Straight implementation of mustache templates description:         Straight implementation of mustache templates  homepage:            https://github.com/danchoi/mustache-haskell