[commit: packages/base] ghc-7.8: Tweak Haddock comments in `Data.Ord.Down` added in ebc85262c (240528c)
git at git.haskell.org
git at git.haskell.org
Sat Mar 1 10:43:30 UTC 2014
Repository : ssh://git@git.haskell.org/base
On branch : ghc-7.8
Link : http://ghc.haskell.org/trac/ghc/changeset/240528ca9df8eb48ae4b462f65434a8de1886b1e/base
>---------------------------------------------------------------
commit 240528ca9df8eb48ae4b462f65434a8de1886b1e
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Sat Mar 1 11:40:21 2014 +0100
Tweak Haddock comments in `Data.Ord.Down` added in ebc85262c
Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>
(cherry picked from commit 1dadd50d80240a03c403a07d4374b83cf9da4736)
>---------------------------------------------------------------
240528ca9df8eb48ae4b462f65434a8de1886b1e
Data/Ord.hs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Data/Ord.hs b/Data/Ord.hs
index a574b83..624dae1 100644
--- a/Data/Ord.hs
+++ b/Data/Ord.hs
@@ -43,8 +43,9 @@ comparing p x y = compare (p x) (p y)
-- This is particularly useful when sorting in generalised list comprehensions,
-- as in: @then sortWith by 'Down' x@
--
+-- Provides 'Show' and 'Read' instances (/since: 4.7.0.0/).
+--
-- /Since: 4.6.0.0/
--- Show and Read instances /Since: 4.7.0.0/
newtype Down a = Down a deriving (Eq, Show, Read)
instance Ord a => Ord (Down a) where
More information about the ghc-commits
mailing list