Skip to content

Commit 5e338df

Browse files
googleson78treeowl
authored andcommitted
Use less cpp and don't rely on base version for liftA2 comaptibility
1 parent d072aa2 commit 5e338df

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

containers/src/Prelude.hs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,15 @@
44
-- @liftA2@ wasn't previously exported from the standard prelude.
55
module Prelude
66
( module Prel
7-
#if !MIN_VERSION_base(4,18,0)
87
, Applicative (..)
9-
#endif
108
#if !MIN_VERSION_base(4,10,0)
119
, liftA2
1210
#endif
1311
)
1412
where
1513

16-
import "base" Prelude as Prel
17-
#if !MIN_VERSION_base(4,18,0)
14+
import "base" Prelude as Prel hiding (Applicative(..))
1815
import Control.Applicative(Applicative(..))
19-
#endif
2016

2117
#if !MIN_VERSION_base(4,10,0)
2218
import Control.Applicative(liftA2)

0 commit comments

Comments
 (0)