From d60e1464d5980ef77df4f685b8077e27a0c5cc87 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 25 Mar 2022 14:49:56 -1000 Subject: [PATCH] imp: fix MonadIO import (#1847) --- hledger-lib/Hledger/Read.hs | 2 +- stack.yaml | 40 +------------------------------------ 2 files changed, 2 insertions(+), 40 deletions(-) mode change 100644 => 120000 stack.yaml diff --git a/hledger-lib/Hledger/Read.hs b/hledger-lib/Hledger/Read.hs index e6e66f5c8..6722e2cce 100644 --- a/hledger-lib/Hledger/Read.hs +++ b/hledger-lib/Hledger/Read.hs @@ -53,7 +53,7 @@ module Hledger.Read ( --- ** imports import qualified Control.Exception as C import Control.Monad (unless, when) -import "mtl" Control.Monad.Except (ExceptT(..), runExceptT, liftIO) +import "mtl" Control.Monad.Except (ExceptT(..), runExceptT, liftIO, MonadIO) import Data.Default (def) import Data.Foldable (asum) import Data.List (group, sort, sortBy) diff --git a/stack.yaml b/stack.yaml deleted file mode 100644 index d832ca2de..000000000 --- a/stack.yaml +++ /dev/null @@ -1,39 +0,0 @@ -# stack build plan using GHC 9.0.2 - -nix: - pure: false - packages: [perl gmp ncurses zlib] - -resolver: nightly-2022-03-03 - -# for https://gitlab.haskell.org/ghc/ghc/-/issues/20592 on mac m1 (adjust path if needed) -extra-include-dirs: -- /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/ffi - -packages: -- hledger-lib -- hledger -- hledger-ui -- hledger-web - -#extra-deps: -# for hledger-lib: -# for hledger: -# for hledger-ui: -# for hledger-web: -# for Shake.hs: - -# for precise profiling, per https://www.tweag.io/posts/2020-01-30-haskell-profiling.html: -# apply-ghc-options: everything -# rebuild-ghc-options: true -# stack build --profile --ghc-options="-fno-prof-auto" - -# tell GHC to write hie files, eg for weeder. Rumoured to be slow. -# ghc-options: -# "$locals": -fwrite-ide-info - -# ghc-options: -# "$locals": -ddump-timings -# "$targets": -Werror -# "$everything": -O2 -# some-package: -DSOME_CPP_FLAG diff --git a/stack.yaml b/stack.yaml new file mode 120000 index 000000000..dd01656fa --- /dev/null +++ b/stack.yaml @@ -0,0 +1 @@ +stack9.2.yaml \ No newline at end of file