dhall-bash 1.0.11 → 1.0.12
raw patch · 2 files changed
+3/−5 lines, 2 filesdep −trifectadep ~dhallPVP ok
version bump matches the API change (PVP)
Dependencies removed: trifecta
Dependency ranges changed: dhall
API changes (from Hackage documentation)
Files
- dhall-bash.cabal +2/−3
- exec/Main.hs +1/−2
dhall-bash.cabal view
@@ -1,5 +1,5 @@ Name: dhall-bash-Version: 1.0.11+Version: 1.0.12 Cabal-Version: >=1.8.0.2 Build-Type: Simple Tested-With: GHC == 7.10.2, GHC == 8.0.1@@ -32,7 +32,7 @@ bytestring < 0.11, containers < 0.6 , formatting >= 6.3 && < 6.4 ,- dhall >= 1.12.0 && < 1.13,+ dhall >= 1.12.0 && < 1.14, insert-ordered-containers >= 0.1.0.1 && < 0.3 , neat-interpolation < 0.4 , shell-escape < 0.3 ,@@ -49,6 +49,5 @@ dhall , dhall-bash , optparse-generic >= 1.1.1 && < 1.4 ,- trifecta >= 1.6 && < 1.8 , text GHC-Options: -Wall
exec/Main.hs view
@@ -11,7 +11,6 @@ import Data.ByteString (ByteString) import Options.Generic (Generic, ParseRecord, type (<?>)(..)) import System.Exit (ExitCode(..))-import Text.Trifecta.Delta (Delta(..)) import qualified Control.Exception import qualified Data.ByteString@@ -41,7 +40,7 @@ (if unHelpful explain then Dhall.detailed else id) (handle (do inText <- Data.Text.Lazy.IO.getContents - expr <- case Dhall.Parser.exprFromText (Directed "(stdin)" 0 0 0 0) inText of+ expr <- case Dhall.Parser.exprFromText "(stdin)" inText of Left err -> Control.Exception.throwIO err Right expr -> return expr