HsAssocPretty

Plain source file: base/AST/HsAssocPretty.hs (2003-02-04)

HsAssocPretty is imported by: BaseSyntaxPretty, HsAssoc, HsDeclPretty.

module HsAssocPretty where
import HsAssocStruct
import PrettyPrint

instance Printable HsFixity where
    ppi (HsFixity assoc n) = assoc <+> lit n

instance Printable HsAssoc where
    ppi HsAssocNone  = kw "infix"
    ppi HsAssocLeft  = kw "infixl"
    ppi HsAssocRight = kw "infixr"


Index

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