diff --git a/scat.cabal b/scat.cabal index 0e94fe6..b4e5f18 100644 --- a/scat.cabal +++ b/scat.cabal @@ -72,7 +72,7 @@ executable scat , bytestring , optparse-applicative >= 0.5 , mtl - , vector == 0.12.* + , vector == 0.13.* , ansi-terminal >= 0.6.1 test-suite scat-tests @@ -84,5 +84,5 @@ test-suite scat-tests , bytestring , optparse-applicative >= 0.5 , mtl - , vector == 0.12.* + , vector == 0.13.* , ansi-terminal >= 0.6.1 diff --git a/src/Main.hs b/src/Main.hs index 49837ba..7f0236e 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -9,6 +9,7 @@ import System.IO import System.Exit import System.Console.ANSI import Control.Exception +import Control.Monad (when, unless) import Control.Monad.Reader import Scat