sexpr-parser 0.2.1.0 → 0.2.2.0
raw patch · 4 files changed
+12/−11 lines, 4 filesdep ~bytestringdep ~hspecdep ~megaparsecPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: bytestring, hspec, megaparsec
API changes (from Hackage documentation)
Files
- lib/Text/SExpression/Default.hs +4/−3
- sexpr-parser.cabal +6/−6
- spec/Text/SExpression/InternalSpec.hs +1/−1
- z3-demo/Main.hs +1/−1
lib/Text/SExpression/Default.hs view
@@ -26,6 +26,7 @@ , parseBoolDef ) where +import Data.Maybe (fromJust) import Data.Semigroup (Last(..)) import Data.Default import Text.SExpression.Types (SExpr(..), Parser)@@ -87,9 +88,9 @@ mkLiteralParsers f = case f def of LiteralParsersM{..} ->- let Just (Last parseString) = parseStringM- Just (Last parseNumber) = parseNumberM- Just (Last parseBool) = parseBoolM in+ let Last parseString = fromJust parseStringM+ Last parseNumber = fromJust parseNumberM+ Last parseBool = fromJust parseBoolM in LiteralParsers parseString parseNumber parseBool -- | String parser override function
sexpr-parser.cabal view
@@ -1,5 +1,5 @@ name: sexpr-parser-version: 0.2.1.0+version: 0.2.2.0 synopsis: Simple s-expression parser description: This package provides a simple Megaparsec-based s-expression parser.@@ -24,7 +24,7 @@ , Text.SExpression.Default build-depends: base >= 4.9 && < 5- , megaparsec >= 6.5 && < 7.1+ , megaparsec >= 6.5 && < 9.3 , data-default >= 0.6 && < 0.8 test-suite sexpr-parser-spec@@ -36,8 +36,8 @@ Text.SExpression.InternalSpec build-depends: base >= 4.9 && < 5- , hspec >= 2.5 && < 2.8- , megaparsec >= 6.5 && < 7.1+ , hspec >= 2.5 && < 2.10+ , megaparsec >= 6.5 && < 9.3 , data-default >= 0.6 && < 0.8 , sexpr-parser @@ -47,7 +47,7 @@ main-is: Main.hs build-depends: base >= 4.9 && < 5- , bytestring >= 0.10 && < 0.11- , megaparsec >= 6.5 && < 7.1+ , bytestring >= 0.10 && < 0.12+ , megaparsec >= 6.5 && < 9.3 , process >= 1.6 && < 1.7 , sexpr-parser
spec/Text/SExpression/InternalSpec.hs view
@@ -8,7 +8,7 @@ Portability : portable -} -{-# OPTIONS_GHC -Wall -Werror #-}+{-# OPTIONS_GHC -Wall -Werror -Wno-incomplete-uni-patterns #-} module Text.SExpression.InternalSpec (spec) where
z3-demo/Main.hs view
@@ -8,7 +8,7 @@ Portability : portable -} -{-# OPTIONS_GHC -Wall -Werror #-}+{-# OPTIONS_GHC -Wall -Werror -Wno-incomplete-uni-patterns #-} module Main (main) where