diff --git a/Modulo.cabal b/Modulo.cabal
--- a/Modulo.cabal
+++ b/Modulo.cabal
@@ -10,7 +10,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             0.1.0.0
+version:             0.2.0.0
 
 -- A short (one-line) description of the package.
 synopsis:            Modular arithmetic via Numeric-Prelude
@@ -52,5 +52,5 @@
   -- other-modules:       
   
   -- Other library packages from which modules are imported.
-  build-depends:       base ==4.5.*, numeric-prelude ==0.3.*
+  build-depends:       base >=4.5 && <= 4.6, numeric-prelude >=0.3
   
diff --git a/Number/Modulo.hs b/Number/Modulo.hs
--- a/Number/Modulo.hs
+++ b/Number/Modulo.hs
@@ -74,7 +74,7 @@
         where (q,r) = n `quotRem` 2
 
 -- | Calculate x modulo n
-Mod x `modulo` n = x n
+Mod x `modulo` n = fromInteger $ x n
 infixr 2 `modulo`
 
 x === y = \f -> f x == f y
