Skip to content

Commit

Permalink
Hide Data.List.List from Prelude import
Browse files Browse the repository at this point in the history
This is done to allow build with CLC Proposal #182
(haskell/core-libraries-committee#182)
  • Loading branch information
Kleidukos committed Nov 16, 2023
1 parent b8160f1 commit 999bc88
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions library/Ptr/Prelude.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{-# LANGUAGE CPP #-}

module Ptr.Prelude
( module Exports,
)
Expand Down Expand Up @@ -34,7 +36,11 @@ import Data.Functor.Contravariant.Divisible as Exports
import Data.IORef as Exports
import Data.Int as Exports
import Data.Ix as Exports
#if MIN_VERSION_base(4,20,0)
import Data.List as Exports hiding (List, all, and, any, concat, concatMap, elem, find, foldl, foldl', foldl1, foldr, foldr1, isSubsequenceOf, mapAccumL, mapAccumR, maximum, maximumBy, minimum, minimumBy, notElem, or, product, sortOn, sum, uncons)
#else
import Data.List as Exports hiding (all, and, any, concat, concatMap, elem, find, foldl, foldl', foldl1, foldr, foldr1, isSubsequenceOf, mapAccumL, mapAccumR, maximum, maximumBy, minimum, minimumBy, notElem, or, product, sortOn, sum, uncons)
#endif
import Data.List.NonEmpty as Exports (NonEmpty (..))
import Data.Maybe as Exports
import Data.Monoid as Exports hiding (Alt, (<>))
Expand Down

0 comments on commit 999bc88

Please sign in to comment.