summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Pelenitsyn <a.pelenitsyn@gmail.com>2022-06-01 13:57:19 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-06-22 22:00:07 -0400
commite6a69337ff54d0800ddf78f40f551559479502e8 (patch)
treeaee245ea7eb9d3e3f9a58061373cf0b060756dbb
parent575ec84679e59a7ca4e7f65b672b403f8032fb21 (diff)
downloadhaskell-e6a69337ff54d0800ddf78f40f551559479502e8.tar.gz
re-export GHC.Natural.minusNaturalMaybe from Numeric.Natural
CLC proposal: https://github.com/haskell/core-libraries-committee/issues/45
-rw-r--r--libraries/base/Numeric/Natural.hs2
-rw-r--r--libraries/base/changelog.md1
2 files changed, 3 insertions, 0 deletions
diff --git a/libraries/base/Numeric/Natural.hs b/libraries/base/Numeric/Natural.hs
index bf2f27b897..2d2031afbd 100644
--- a/libraries/base/Numeric/Natural.hs
+++ b/libraries/base/Numeric/Natural.hs
@@ -19,6 +19,8 @@
module Numeric.Natural
( Natural
+ , minusNaturalMaybe
) where
import GHC.Num.Natural
+import GHC.Natural (minusNaturalMaybe)
diff --git a/libraries/base/changelog.md b/libraries/base/changelog.md
index ba542ac58e..2b6aea6f6c 100644
--- a/libraries/base/changelog.md
+++ b/libraries/base/changelog.md
@@ -6,6 +6,7 @@
exception handler.
* Add `GHC.Weak.Finalize.{get,set}FinalizerExceptionHandler` which the user to
override the above-mentioned handler.
+ * `Numeric.Natural` re-exports `GHC.Natural.minusNaturalMaybe`.
## 4.17.0.0 *TBA*