summaryrefslogtreecommitdiff
path: root/libraries/base/Data/Fixed.hs
diff options
context:
space:
mode:
authorDuncan Coutts <duncan.coutts@worc.ox.ac.uk>2006-05-17 22:20:44 +0000
committerDuncan Coutts <duncan.coutts@worc.ox.ac.uk>2006-05-17 22:20:44 +0000
commit419c96422d170becb920b2138f4a77329dcb8c26 (patch)
treeb95242e63daec3383cb9d3e8e6a9bb0da5ec821b /libraries/base/Data/Fixed.hs
parent7033cd5d2c8c4361063da059372141ee0a0a8c16 (diff)
downloadhaskell-419c96422d170becb920b2138f4a77329dcb8c26.tar.gz
add import Prelude to get dependencies right for Data/Fixed.hs
Hopefully this fixes parallel builds.
Diffstat (limited to 'libraries/base/Data/Fixed.hs')
-rw-r--r--libraries/base/Data/Fixed.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/base/Data/Fixed.hs b/libraries/base/Data/Fixed.hs
index 11fd4d1055..2b4fb26a96 100644
--- a/libraries/base/Data/Fixed.hs
+++ b/libraries/base/Data/Fixed.hs
@@ -31,6 +31,8 @@ module Data.Fixed
E12,Pico
) where
+import Prelude -- necessary to get dependencies right
+
-- | generalisation of 'div' to any instance of Real
div' :: (Real a,Integral b) => a -> a -> b
div' n d = floor ((toRational n) / (toRational d))