summaryrefslogtreecommitdiff
path: root/libraries/base/Data/Ord.hs
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2013-09-21 18:04:19 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2013-09-21 18:07:25 +0200
commit2642d9f6eac5879c7d38bc51726bede1bef77df4 (patch)
treed35215ec3086549a77a05fc273be678e3646c327 /libraries/base/Data/Ord.hs
parent77f32dad3bef5b641a9d15f69ad2e0f058ade67a (diff)
downloadhaskell-2642d9f6eac5879c7d38bc51726bede1bef77df4.tar.gz
Add Haddock `/Since: 4.6.0.0/` comments to symbols
This commit retroactively adds `/Since: 4.6.0.0/` annotations to symbols newly added/exposed in `base-4.6.0.0` (as shipped with GHC 7.6.1). See also 6368362f which adds the respective annotation for symbols newly added in `base-4.7.0.0` (that goes together with GHC 7.8.1). Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'libraries/base/Data/Ord.hs')
-rw-r--r--libraries/base/Data/Ord.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/base/Data/Ord.hs b/libraries/base/Data/Ord.hs
index 174855519e..f7d32f657b 100644
--- a/libraries/base/Data/Ord.hs
+++ b/libraries/base/Data/Ord.hs
@@ -40,6 +40,8 @@ comparing p x y = compare (p x) (p y)
-- values thus wrapped will give you the opposite of their normal sort order.
-- This is particularly useful when sorting in generalised list comprehensions,
-- as in: @then sortWith by 'Down' x@
+--
+-- /Since: 4.6.0.0/
newtype Down a = Down a deriving (Eq)
instance Ord a => Ord (Down a) where