diff --git a/Changes b/Changes
--- a/Changes
+++ b/Changes
@@ -1,3 +1,5 @@
+0.4.0.1:
+    Fixed Haddock bug
 0.4.0.0:
     Added generalised Moebius inversion, to be continued
 0.3.0.0:
diff --git a/Math/NumberTheory/MoebiusInversion.hs b/Math/NumberTheory/MoebiusInversion.hs
--- a/Math/NumberTheory/MoebiusInversion.hs
+++ b/Math/NumberTheory/MoebiusInversion.hs
@@ -28,7 +28,10 @@
   where
     triangle n = (n*(n-1)) `quot` 2
 
--- | The generalised Moebius inversion implemented here allows an efficient
+-- | @generalInversion g n@ evaluates the generalised Moebius inversion of @g@
+--   at the argument @n@.
+--
+--   The generalised Moebius inversion implemented here allows an efficient
 --   calculation of isolated values of the function @f : N -> Z@ if the function
 --   @g@ defined by
 --
@@ -52,6 +55,7 @@
 --
 -- >
 -- > f n = number of reduced proper fractions with denominator <= n
+-- >
 -- > g n = number of proper fractions with denominator <= n
 -- >
 --
@@ -65,7 +69,7 @@
 --   Since the function arguments are used as array indices, the domain of
 --   @f@ is restricted to 'Int'.
 --
---   The value @f n@ is then computed by @generalInversion g n). Note that when
+--   The value @f n@ is then computed by @generalInversion g n@). Note that when
 --   many values of @f@ are needed, there are far more efficient methods, this
 --   method is only appropriate to compute isolated values of @f@.
 generalInversion :: (Int -> Integer) -> Int -> Integer
diff --git a/Math/NumberTheory/MoebiusInversion/Int.hs b/Math/NumberTheory/MoebiusInversion/Int.hs
--- a/Math/NumberTheory/MoebiusInversion/Int.hs
+++ b/Math/NumberTheory/MoebiusInversion/Int.hs
@@ -29,7 +29,10 @@
   where
     triangle n = (n*(n-1)) `quot` 2
 
--- | The generalised Moebius inversion implemented here allows an efficient
+-- | @generalInversion g n@ evaluates the generalised Moebius inversion of @g@
+--   at the argument @n@.
+--
+--   The generalised Moebius inversion implemented here allows an efficient
 --   calculation of isolated values of the function @f : N -> Z@ if the function
 --   @g@ defined by
 --
@@ -67,7 +70,7 @@
 --   That bears the risk of overflow, however, so be sure to use it only when it's
 --   safe.
 --
---   The value @f n@ is then computed by @generalInversion g n). Note that when
+--   The value @f n@ is then computed by @generalInversion g n@). Note that when
 --   many values of @f@ are needed, there are far more efficient methods, this
 --   method is only appropriate to compute isolated values of @f@.
 generalInversion :: (Int -> Int) -> Int -> Int
diff --git a/arithmoi.cabal b/arithmoi.cabal
--- a/arithmoi.cabal
+++ b/arithmoi.cabal
@@ -1,5 +1,5 @@
 name                : arithmoi
-version             : 0.4.0.0
+version             : 0.4.0.1
 cabal-version       : >= 1.6
 author              : Daniel Fischer
 copyright           : (c) 2011 Daniel Fischer
