[Git][ghc/ghc][wip/prelude-for] export GHC.Internal.Data.Traversable.for from Prelude

Melanie Brown (@mixphix) gitlab at gitlab.haskell.org
Sun Jun 9 13:42:41 UTC 2024



Melanie Brown pushed to branch wip/prelude-for at Glasgow Haskell Compiler / GHC


Commits:
57585b58 by Melanie Brown at 2024-06-09T09:42:13-04:00
export GHC.Internal.Data.Traversable.for from Prelude

- - - - -


1 changed file:

- libraries/base/src/Prelude.hs


Changes:

=====================================
libraries/base/src/Prelude.hs
=====================================
@@ -94,7 +94,7 @@ module Prelude (
              sum),      -- :: Num a => t a -> a
              -- toList) -- :: Foldable t => t a -> [a]
 
-    Traversable(traverse, sequenceA, mapM, sequence),
+    Traversable(traverse, sequenceA, mapM, sequence), for,
 
     -- ** Miscellaneous functions
     id, const, (.), flip, ($), until,
@@ -173,7 +173,7 @@ import GHC.Internal.Data.Foldable    ( Foldable(..) )
 import qualified GHC.Internal.Data.Foldable as Foldable
 import GHC.Internal.Data.Functor     ( (<$>) )
 import GHC.Internal.Data.Maybe
-import GHC.Internal.Data.Traversable ( Traversable(..) )
+import GHC.Internal.Data.Traversable ( Traversable(..), for )
 import GHC.Internal.Data.Tuple
 
 import GHC.Internal.Base hiding ( foldr, mapM, sequence )



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/57585b5817e3aec532e53ec60b1760fcebfbf927

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/57585b5817e3aec532e53ec60b1760fcebfbf927
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240609/196970c0/attachment-0001.html>


More information about the ghc-commits mailing list