diff --git a/iter-stats.cabal b/iter-stats.cabal
--- a/iter-stats.cabal
+++ b/iter-stats.cabal
@@ -2,7 +2,7 @@
 -- documentation, see http://haskell.org/cabal/users-guide/
 
 name:                iter-stats
-version:             0.1.0.3
+version:             0.1.0.4
 synopsis:            iteratees for statistical processing
 description:         efficient statistical values of data streams
 homepage:            https://github.com/JohnLato/iter-stats
@@ -21,7 +21,7 @@
                        Statistics.Iteratee.Sample,
                        Statistics.Iteratee.Uniform
   -- other-modules:       
-  build-depends:       base >=4.5 && < 4.8,
+  build-depends:       base >=4.5 && < 4.9,
                        heap == 1.*,
                        iteratee >=0.8,
                        ListLike >=3,
diff --git a/src/Statistics/Iteratee/Sample.hs b/src/Statistics/Iteratee/Sample.hs
--- a/src/Statistics/Iteratee/Sample.hs
+++ b/src/Statistics/Iteratee/Sample.hs
@@ -2,6 +2,7 @@
 {-# LANGUAGE NoMonomorphismRestriction #-}
 {-# LANGUAGE ScopedTypeVariables #-}
 {-# LANGUAGE ConstraintKinds #-}
+{-# LANGUAGE FlexibleContexts #-}
 
 {-# OPTIONS -Wall #-}
 module Statistics.Iteratee.Sample (
