Ormolu.Processing.Preprocess

fourmolu-0.17.0.0: A formatter for Haskell source code

Safe Haskell | None
Language | GHC2021

Ormolu.Processing.Preprocess

Description

Preprocessing for input source code.

Synopsis

- preprocess :: Bool -> RegionDeltas -> Text -> [Either Text RegionDeltas]

# Documentation

preprocess #

Arguments

:: Bool | Whether CPP is enabled
-> RegionDeltas |
-> Text |
-> [Either Text RegionDeltas] |

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