File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1
1
-- The accounts screen, showing accounts and balances like the CLI balance command.
2
2
3
+ {-# LANGUAGE CPP #-}
3
4
{-# LANGUAGE OverloadedStrings #-}
4
5
{-# LANGUAGE RecordWildCards #-}
5
6
{-# LANGUAGE TupleSections #-}
@@ -23,7 +24,11 @@ import Brick.Widgets.List
23
24
import Brick.Widgets.Edit
24
25
import Control.Monad
25
26
import Control.Monad.IO.Class (liftIO )
27
+ #if MIN_VERSION_base(4,19,0)
28
+ import Data.List hiding (reverse , (!?) )
29
+ #else
26
30
import Data.List hiding (reverse )
31
+ #endif
27
32
import Data.Maybe
28
33
import qualified Data.Text as T
29
34
import Data.Time.Calendar (Day )
Original file line number Diff line number Diff line change 19
19
import Control.Monad
20
20
import Control.Monad.IO.Class (liftIO )
21
21
import Data.Bifunctor (bimap , Bifunctor (second ))
22
+ #if MIN_VERSION_base(4,19,0)
23
+ import Data.List hiding ((!?) )
24
+ #else
22
25
import Data.List
26
+ #endif
23
27
import Data.Maybe
24
28
import qualified Data.Text as T
25
29
import qualified Data.Vector as V
You can’t perform that action at this time.
0 commit comments