projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cf6637d
)
Whitespace only
author
Ian Lynagh
<igloo@earth.li>
Tue, 24 Nov 2009 13:34:21 +0000
(13:34 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Tue, 24 Nov 2009 13:34:21 +0000
(13:34 +0000)
GHC/Num.lhs
patch
|
blob
|
history
diff --git
a/GHC/Num.lhs
b/GHC/Num.lhs
index
bfc5458
..
87a11df
100644
(file)
--- a/
GHC/Num.lhs
+++ b/
GHC/Num.lhs
@@
-7,7
+7,7
@@
-- Module : GHC.Num
-- Copyright : (c) The University of Glasgow 1994-2002
-- License : see libraries/base/LICENSE
-- Module : GHC.Num
-- Copyright : (c) The University of Glasgow 1994-2002
-- License : see libraries/base/LICENSE
---
+--
-- Maintainer : cvs-ghc@haskell.org
-- Stability : internal
-- Portability : non-portable (GHC Extensions)
-- Maintainer : cvs-ghc@haskell.org
-- Stability : internal
-- Portability : non-portable (GHC Extensions)
@@
-41,7
+41,7
@@
import GHC.Integer
infixl 7 *
infixl 6 +, -
infixl 7 *
infixl 6 +, -
-default () -- Double isn't available yet,
+default () -- Double isn't available yet,
-- and we shouldn't be using defaults anyway
\end{code}
-- and we shouldn't be using defaults anyway
\end{code}
@@
-62,7
+62,7
@@
class (Eq a, Show a) => Num a where
-- | Absolute value.
abs :: a -> a
-- | Sign of a number.
-- | Absolute value.
abs :: a -> a
-- | Sign of a number.
- -- The functions 'abs' and 'signum' should satisfy the law:
+ -- The functions 'abs' and 'signum' should satisfy the law:
--
-- > abs x * signum x == x
--
--
-- > abs x * signum x == x
--