diff --git a/Data/Aeson/Encode/Pretty.hs b/Data/Aeson/Encode/Pretty.hs
--- a/Data/Aeson/Encode/Pretty.hs
+++ b/Data/Aeson/Encode/Pretty.hs
@@ -120,7 +120,7 @@
 -- |The default configuration: indent by four spaces per level of nesting, do
 --  not sort objects by key.
 --
---  > defConfig = Config { confIndent = 4, confCompare = mempty, confNumFormat = Generic }
+--  > defConfig = Config { confIndent = Spaces 4, confCompare = mempty, confNumFormat = Generic }
 defConfig :: Config
 defConfig =
   Config {confIndent = Spaces 4, confCompare = mempty, confNumFormat = Generic}
diff --git a/aeson-pretty.cabal b/aeson-pretty.cabal
--- a/aeson-pretty.cabal
+++ b/aeson-pretty.cabal
@@ -1,5 +1,5 @@
 name:           aeson-pretty
-version:        0.8.2
+version:        0.8.3
 license:        BSD3
 license-file:   LICENSE
 category:       Text, Web, JSON, Pretty Printer
