From 2642d9f6eac5879c7d38bc51726bede1bef77df4 Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Sat, 21 Sep 2013 18:04:19 +0200 Subject: 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 --- libraries/base/Data/Ord.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libraries/base/Data/Ord.hs') 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 -- cgit v1.2.1