ogma-language-xmlspec 1.15.0 → 1.16.0
raw patch · 3 files changed
+10/−5 lines, 3 filesdep ~ogma-specPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: ogma-spec
API changes (from Hackage documentation)
Files
- CHANGELOG.md +6/−0
- ogma-language-xmlspec.cabal +2/−2
- src/Language/XMLSpec/Parser.hs +2/−3
CHANGELOG.md view
@@ -1,5 +1,11 @@ # Revision history for ogma-language-xmlspec +## [1.16.0] - 2026-09-21++* Version bump (1.16.0) (#606).+* Remove unnecessary line breaks (#520).+* Add missing periods to Haddock comments (#524).+ ## [1.15.0] - 2026-07-21 * Version bump (1.15.0) (#508).
ogma-language-xmlspec.cabal view
@@ -19,7 +19,7 @@ build-type: Simple name: ogma-language-xmlspec-version: 1.15.0+version: 1.16.0 homepage: http://nasa.gov license: Apache-2.0 license-file: LICENSE@@ -58,7 +58,7 @@ , hxt-xpath >= 8.5 && < 9.2 , pretty >= 1.1 && < 1.2 - , ogma-spec >= 1.15.0 && < 1.16+ , ogma-spec >= 1.16.0 && < 1.17 hs-source-dirs: src
src/Language/XMLSpec/Parser.hs view
@@ -227,8 +227,7 @@ resolveIndirectly :: String -> (String, Maybe (String, String)) -> ExceptT String IO XPathExpr-resolveIndirectly _ (query, Nothing) =- liftEither $ checkXPathExpr query+resolveIndirectly _ (query, Nothing) = liftEither $ checkXPathExpr query resolveIndirectly xml (query, Just (key, val)) = do -- Check that the given query string parses correctly.@@ -364,7 +363,7 @@ listToEither msg [] = Left $ "Failed to find a value for " ++ msg listToEither msg _ = Left $ "Unexpectedly found multiple values for " ++ msg --- | Replace a string by another string+-- | Replace a string by another string. replace :: String -> String -> String -> String replace [] _k _v = [] replace string@(h:t) key value