[commit: packages/base] master: Add `/Since: 4.7.0.0/` to `MkFixed` constructor (f6a3a9a)

git at git.haskell.org git at git.haskell.org
Wed Jan 29 15:28:49 UTC 2014


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

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

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

commit f6a3a9a199c94a02e45977f0042548b956adf12f
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Wed Jan 29 16:23:44 2014 +0100

    Add `/Since: 4.7.0.0/` to `MkFixed` constructor
    
    As it's been exposed only since
    05c03d850a7da7bd708e9a9da7de2b9ba36b6041
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

f6a3a9a199c94a02e45977f0042548b956adf12f
 Data/Fixed.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Data/Fixed.hs b/Data/Fixed.hs
index ce4266d..f5fb896 100644
--- a/Data/Fixed.hs
+++ b/Data/Fixed.hs
@@ -61,7 +61,7 @@ mod' n d = n - (fromInteger f) * d where
     f = div' n d
 
 -- | The type parameter should be an instance of 'HasResolution'.
-newtype Fixed a = MkFixed Integer
+newtype Fixed a = MkFixed Integer -- ^ /Since: 4.7.0.0/
         deriving (Eq,Ord,Typeable)
 
 -- We do this because the automatically derived Data instance requires (Data a) context.



More information about the ghc-commits mailing list