[commit: packages/base] master: Tweak Haddock comments in `Data.Ord.Down` added in ebc85262c (1dadd50)

git at git.haskell.org git at git.haskell.org
Sat Mar 1 10:42:46 UTC 2014


Repository : ssh://git@git.haskell.org/base

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/1dadd50d80240a03c403a07d4374b83cf9da4736/base

>---------------------------------------------------------------

commit 1dadd50d80240a03c403a07d4374b83cf9da4736
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>


>---------------------------------------------------------------

1dadd50d80240a03c403a07d4374b83cf9da4736
 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