[Git][ghc/ghc][master] Fix #27067 - Clarify haddocks on `minusNaturalMaybe`
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: d3438055 by Enrico Maria De Angelis at 2026-06-03T08:02:17-04:00 Fix #27067 - Clarify haddocks on `minusNaturalMaybe` - - - - - 1 changed file: - libraries/ghc-internal/src/GHC/Internal/Natural.hs Changes: ===================================== libraries/ghc-internal/src/GHC/Internal/Natural.hs ===================================== @@ -93,7 +93,7 @@ plusNatural = N.naturalAdd minusNatural :: Natural -> Natural -> Natural minusNatural = N.naturalSubThrow --- | 'Natural' subtraction. Returns 'Nothing's for non-positive results. +-- | 'Natural' subtraction. Returns 'Nothing's for negative results. -- -- @since base-4.8.0.0 minusNaturalMaybe :: Natural -> Natural -> Maybe Natural View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d34380557828151abe8e1826e526d489... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d34380557828151abe8e1826e526d489... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)