imp: fix MonadIO import (#1847)
This commit is contained in:
parent
31c7c5d1ca
commit
d60e1464d5
@ -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)
|
||||
|
||||
39
stack.yaml
39
stack.yaml
@ -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
|
||||
1
stack.yaml
Symbolic link
1
stack.yaml
Symbolic link
@ -0,0 +1 @@
|
||||
stack9.2.yaml
|
||||
Loading…
Reference in New Issue
Block a user