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 5730ee3 commit 6ad7635
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions library/StrictList/Prelude.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE CPP #-}
module StrictList.Prelude
( module Exports,
)
Expand Down Expand Up @@ -36,7 +37,11 @@ import Data.Hashable as Exports (Hashable)
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 (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, unzip)
#else
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, unzip)
#endif
import Data.Maybe as Exports
import Data.Monoid as Exports hiding (Alt, First (..), Last (..), (<>))
import Data.Ord as Exports
Expand Down

0 comments on commit 6ad7635

Please sign in to comment.