diff options
-rw-r--r-- | docs/users_guide/9.8.1-notes.rst | 1 | ||||
-rw-r--r-- | libraries/base/Data/Tuple.hs | 3 | ||||
-rw-r--r-- | libraries/base/changelog.md | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/docs/users_guide/9.8.1-notes.rst b/docs/users_guide/9.8.1-notes.rst index a4230ffcca..e64fc49dcc 100644 --- a/docs/users_guide/9.8.1-notes.rst +++ b/docs/users_guide/9.8.1-notes.rst @@ -46,6 +46,7 @@ Runtime system ``base`` library ~~~~~~~~~~~~~~~~ +- ``Data.Tuple`` now exports ``getSolo :: Solo a -> a``. ``ghc-prim`` library ~~~~~~~~~~~~~~~~~~~~ diff --git a/libraries/base/Data/Tuple.hs b/libraries/base/Data/Tuple.hs index 4c3de9c4c5..dd2e98d4ef 100644 --- a/libraries/base/Data/Tuple.hs +++ b/libraries/base/Data/Tuple.hs @@ -17,6 +17,7 @@ module Data.Tuple ( Solo (..) + , getSolo , fst , snd , curry @@ -25,7 +26,7 @@ module Data.Tuple ) where import GHC.Base () -- Note [Depend on GHC.Tuple] -import GHC.Tuple (Solo (..)) +import GHC.Tuple (Solo (..), getSolo) default () -- Double isn't available yet diff --git a/libraries/base/changelog.md b/libraries/base/changelog.md index bef533f263..6772033780 100644 --- a/libraries/base/changelog.md +++ b/libraries/base/changelog.md @@ -7,6 +7,8 @@ * Refactor `generalCategory` to stop very large literal string being inlined to call-sites. ([CLC proposal #130](https://github.com/haskell/core-libraries-committee/issues/130)) * Add INLINABLE pragmas to `generic*` functions in Data.OldList ([CLC proposal #129](https://github.com/haskell/core-libraries-committee/issues/130)) + * Export `getSolo` from `Data.Tuple`. + ([CLC proposal #113](https://github.com/haskell/core-libraries-committee/issues/113)) ## 4.18.0.0 *TBA* |