diff options
| author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-16 12:07:10 +0100 |
|---|---|---|
| committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-16 13:30:08 +0100 |
| commit | 554aedab646075e12e53b44df04bcfbccbe03a73 (patch) | |
| tree | 0832201a44fd74632bbbd88fb77cb6c11eb34cf7 /libraries/base/Numeric.hs | |
| parent | 45a9696c550c5fe5e891b6d4710179272dc9f6db (diff) | |
| download | haskell-554aedab646075e12e53b44df04bcfbccbe03a73.tar.gz | |
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`)
Diffstat (limited to 'libraries/base/Numeric.hs')
| -rw-r--r-- | libraries/base/Numeric.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/Numeric.hs b/libraries/base/Numeric.hs index 7cba671309..4e24bfe7a8 100644 --- a/libraries/base/Numeric.hs +++ b/libraries/base/Numeric.hs @@ -187,7 +187,7 @@ showGFloat d x = showString (formatRealFloat FFGeneric d x) -- This behaves as 'showFFloat', except that a decimal point -- is always guaranteed, even if not needed. -- --- /Since: 4.7.0.0/ +-- @since 4.7.0.0 showFFloatAlt :: (RealFloat a) => Maybe Int -> a -> ShowS -- | Show a signed 'RealFloat' value @@ -197,7 +197,7 @@ showFFloatAlt :: (RealFloat a) => Maybe Int -> a -> ShowS -- This behaves as 'showFFloat', except that a decimal point -- is always guaranteed, even if not needed. -- --- /Since: 4.7.0.0/ +-- @since 4.7.0.0 showGFloatAlt :: (RealFloat a) => Maybe Int -> a -> ShowS showFFloatAlt d x = showString (formatRealFloatAlt FFFixed d True x) |
