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:
7e9f8a1
)
It seems that nhc98 needs defaulting in Data.Fixed.
author
Malcolm.Wallace@cs.york.ac.uk
<unknown>
Fri, 9 Oct 2009 13:52:42 +0000
(13:52 +0000)
committer
Malcolm.Wallace@cs.york.ac.uk
<unknown>
Fri, 9 Oct 2009 13:52:42 +0000
(13:52 +0000)
Data/Fixed.hs
patch
|
blob
|
history
diff --git
a/Data/Fixed.hs
b/Data/Fixed.hs
index
d38bfac
..
bb76e01
100644
(file)
--- a/
Data/Fixed.hs
+++ b/
Data/Fixed.hs
@@
-40,7
+40,9
@@
import Data.Typeable
import Data.Data
#endif
+#ifndef __NHC__
default () -- avoid any defaulting shenanigans
+#endif
-- | generalisation of 'div' to any instance of Real
div' :: (Real a,Integral b) => a -> a -> b