packages feed

mustache 2.4.0 → 2.4.1

raw patch · 3 files changed

+8/−1 lines, 3 filesdep ~unordered-containers

Dependency ranges changed: unordered-containers

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Mustache library changelog +## v2.4.1++- Compatibility with `containers >= 0.2.17`+ ## v2.4.0  - Support for aeson 2
mustache.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           mustache-version:        2.4.0+version:        2.4.1 synopsis:       A mustache template parser library. description:    Allows parsing and rendering template files with mustache markup. See the                 mustache <http://mustache.github.io/mustache.5.html language reference>.
src/Text/Mustache/Internal/Types.hs view
@@ -394,11 +394,14 @@ deriveLift ''Node deriveLift ''Template +-- Data.HashMap 0.2.17.0 introduces its own Lift instance+#if !MIN_VERSION_unordered_containers(0,2,17) instance Lift TemplateCache where #if MIN_VERSION_template_haskell(2,16,0)   liftTyped m = [|| HM.fromList $$(liftTyped $ HM.toList m) ||] #else   lift m = [| HM.fromList $(lift $ HM.toList m) |]+#endif #endif  --Data.Text 1.2.4.0 introduces its own Lift Text instance