diff --git a/Statistics/Sample.hs b/Statistics/Sample.hs
--- a/Statistics/Sample.hs
+++ b/Statistics/Sample.hs
@@ -54,7 +54,7 @@
 
 range :: Sample -> Double
 range s = hi - lo
-    where hi :*: lo = minMax s
+    where lo :*: hi = minMax s
 {-# INLINE range #-}
 
 -- | Arithmetic mean.  This uses Welford's algorithm to provide
diff --git a/statistics.cabal b/statistics.cabal
--- a/statistics.cabal
+++ b/statistics.cabal
@@ -1,5 +1,5 @@
 name:           statistics
-version:        0.3.4
+version:        0.3.5
 synopsis:       A library of statistical types, data, and functions
 description:
   This library provides a number of common functions and types useful
