Plain source file: base/AST/HsFieldsPretty.hs (2002-09-29)

HsFieldsPretty is imported by: BaseSyntaxPretty, HsExpPretty, HsFields, HsPatPretty.

-- Labelled fields, used in patterns and expressions
module HsFieldsPretty where
import HsFieldsStruct
import PrettyPrint

instance (Printable i,Printable p) => Printable (HsFieldI i p) where
  ppi (HsField n p) = wrap n <+> equals <+> p
  ppiList = fsep . punctuate comma


(HTML for this module was generated on 2006-08-12. About the conversion tool.)