ormolu-0.6.0.1: A formatter for Haskell source code
Safe HaskellSafe-Inferred
LanguageGHC2021

Ormolu.Printer.Meat.Module

Description

Rendering of modules.

Synopsis

Documentation

p_hsModule Source #

Arguments

:: Maybe (RealLocated Comment)

Stack header

-> [([RealLocated Comment], Pragma)]

Pragmas and the associated comments

-> HsModule GhcPs

AST to print

-> R () 

Render a module-like entity (either a regular module or a backpack signature).