ginger 0.7.2.0 → 0.7.3.0
raw patch · 4 files changed
+18/−6 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Text.Ginger.Parse: setSourceName :: SourcePos -> SourceName -> SourcePos
Files
- CHANGELOG.md +8/−0
- ginger.cabal +1/−1
- src/Text/Ginger/Parse.hs +7/−5
- src/Text/Ginger/Run/Builtins.hs +2/−0
CHANGELOG.md view
@@ -1,3 +1,11 @@+## 0.7.3.0++- Expose parser error position details++## 0.7.2.0++- '|json' filter+ ## 0.7.1.0 - `StripBlocks` and `LTrimBlocks` options
ginger.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: ginger-version: 0.7.2.0+version: 0.7.3.0 synopsis: An implementation of the Jinja2 template language in Haskell description: Ginger is Jinja, minus the most blatant pythonisms. Wants to be feature complete, but isn't quite there yet.
src/Text/Ginger/Parse.hs view
@@ -16,19 +16,21 @@ , formatParserError , IncludeResolver , Source, SourceName-, SourcePos+, SourcePos (..)+, sourceName , sourceLine , sourceColumn-, sourceName+, setSourceName ) where -import Text.Parsec ( ParseError- , SourcePos+import Text.Parsec ( ParseError (..)+ , SourcePos (..) , SourceName (..)+ , sourceName , sourceLine , sourceColumn- , sourceName+ , setSourceName , ParsecT , runParserT , try, lookAhead
src/Text/Ginger/Run/Builtins.hs view
@@ -298,6 +298,8 @@ (\(key, value) -> (key,) <$> mapFunction [(Nothing, value)]) (Nothing, Just items) -> toGVal <$> mapM (mapFunction . (:[]) . (Nothing,)) items+ (Nothing, Nothing) ->+ return def gfnSort :: Monad m => Function (Run p m h)