@@ -449,9 +449,9 @@ deriveSerializeInternal conf headTy cons next = do
449449-- | @deriveSerializeWith config instance-dec@ generates a template Haskell
450450-- splice consisting of a declaration of a 'Serialize' instance. @instance-dec@
451451-- is a template Haskell declaration splice consisting of a standard Haskell
452−-- instance declaration without the type class methods. The type class methods
453−-- for the given instance are generated according to the supplied @config@
454−-- parameter.
452+-- instance declaration without the type class methods (e.g. @[d|instance
453+-- Serialize a => Serialize (Maybe a)|]@). The type class methods for the given
454+-- instance are generated according to the supplied @config@ parameter.
455455--
456456-- Usage:
457457--
@@ -501,8 +501,9 @@ deriveSerializeWith conf mDecs = do
501501 go (AppT l _) = go l
502502 go _ = errorMessage dec
503503
504−-- | Given a 'Serialize' instance declaration splice without the methods,
505−-- generate a full instance declaration including all the type class methods.
504+-- | Given an 'Serialize' instance declaration splice without the methods (e.g.
505+-- @[d|instance Serialize a => Serialize (Maybe a)|]@), generate an instance
506+-- declaration including all the type class method implementations.
506507--
507508-- >>> deriveSerialize = deriveSerializeWith serializeConfig
508509--