ormolu-0.3.0.1: A formatter for Haskell source code
Safe HaskellNone
LanguageHaskell2010

Ormolu.Processing.Preprocess

Description

Preprocessing for input source code.

Synopsis

Documentation

preprocess Source #

Arguments

:: Bool

Whether CPP is enabled

-> RegionDeltas 
-> String 
-> [Either Text RegionDeltas] 

Preprocess the specified region of the input into raw snippets and subregions to be formatted.