Skip to content

Commit d072aa2

Browse files
committed
Avoid a redundant export
I don't see a warning, but it seems a bit silly to export `Applicative (..)` explicitly from the custom prelude when `base >= 4.18.0`. Let's not.
1 parent 30d2863 commit d072aa2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

containers/src/Prelude.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
-- @liftA2@ wasn't previously exported from the standard prelude.
55
module Prelude
66
( module Prel
7+
#if !MIN_VERSION_base(4,18,0)
78
, Applicative (..)
9+
#endif
810
#if !MIN_VERSION_base(4,10,0)
911
, liftA2
1012
#endif

0 commit comments

Comments
 (0)