diff --git a/Data/Aeson/Encode/Pretty.hs b/Data/Aeson/Encode/Pretty.hs index d33ca10..bb8bcfd 100644 --- a/Data/Aeson/Encode/Pretty.hs +++ b/Data/Aeson/Encode/Pretty.hs @@ -92,7 +92,7 @@ keyOrder ks = comparing $ \k -> fromMaybe maxBound (elemIndex k ks) -- |The default configuration: indent by four spaces per level of nesting, do -- not sort objects by key. -- --- > defConfig = Config { confIndent = 4, confSort = mempty } +-- > defConfig = Config { confIndent = 4, confCompare = mempty } defConfig :: Config defConfig = Config { confIndent = 4, confCompare = mempty }