From 554aedab646075e12e53b44df04bcfbccbe03a73 Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Tue, 16 Dec 2014 12:07:10 +0100 Subject: Convert `/Since: .../` to new `@since ...` syntax Starting with Haddock 2.16 there's a new built-in support for since-annotations Note: This exposes a bug in the `@since` implementation (see e.g. `Data.Bits`) --- libraries/base/GHC/Exception.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libraries/base/GHC/Exception.hs') diff --git a/libraries/base/GHC/Exception.hs b/libraries/base/GHC/Exception.hs index e2b7149dda..b77d50a628 100644 --- a/libraries/base/GHC/Exception.hs +++ b/libraries/base/GHC/Exception.hs @@ -144,7 +144,7 @@ class (Typeable e, Show e) => Exception e where -- -- Default implementation: @'show'@. -- - -- /Since: 4.8.0.0/ + -- @since 4.8.0.0 displayException :: e -> String displayException = show @@ -178,7 +178,7 @@ data ArithException | LossOfPrecision | DivideByZero | Denormal - | RatioZeroDenominator -- ^ /Since: 4.6.0.0/ + | RatioZeroDenominator -- ^ @since 4.6.0.0 deriving (Eq, Ord, Typeable) divZeroException, overflowException, ratioZeroDenomException :: SomeException -- cgit v1.2.1