where
pp_header rest = case deprec of
Nothing -> pp_modname <+> rest
- Just dt -> vcat [
- pp_modname,
- hsep [ptext SLIT("{-# DEPRECATED"), doubleQuotes (ppr dt), ptext SLIT("#-}")],
- rest
- ]
+ Just d -> vcat [ pp_modname, ppr d, rest ]
pp_modname = ptext SLIT("module") <+> pprModuleName name