ormolu-0.5.1.0: A formatter for Haskell source code
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ormolu.Printer.Meat.Declaration.Data

Description

Renedring of data type declarations.

Documentation

p_dataDecl Source #

Arguments

:: FamilyStyle

Whether to format as data family

-> LocatedN RdrName

Type constructor

-> HsTyPats GhcPs

Type patterns

-> LexicalFixity

Lexical fixity

-> HsDataDefn GhcPs

Data definition

-> R ()