mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-20 02:37:12 +03:00
fix👿stack: build with ghc 9.8, latest stackage nightly (part 2)
Fix the build with GHC < 9.8.
This reapplies commit 87600e5dd
, this time with the correct description.
This commit is contained in:
parent
d4a5361081
commit
034d37c3be
@ -3,6 +3,7 @@ A convenient module to import in hledger scripts,
|
||||
aiming to provide the most useful imports and reduce boilerplate.
|
||||
|-}
|
||||
|
||||
{-# LANGUAGE CPP #-}
|
||||
{-# LANGUAGE PackageImports #-}
|
||||
|
||||
module Hledger.Cli.Script
|
||||
@ -15,7 +16,13 @@ import Control.Concurrent as M
|
||||
import Control.Monad as M
|
||||
import Data.Char as M
|
||||
import Data.Either as M
|
||||
import Data.Functor as M hiding (unzip)
|
||||
|
||||
import Data.Functor as M
|
||||
#if MIN_VERSION_base(4,19,0)
|
||||
hiding (unzip)
|
||||
#endif
|
||||
-- import Data.Functor as M (Functor, fmap, (<$), ($>), (<$>), (<&>)) -- or without CPP ? redundant import warning
|
||||
|
||||
import Data.List as M
|
||||
import Data.Maybe as M
|
||||
import Data.Ord as M
|
||||
|
Loading…
Reference in New Issue
Block a user