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

Ormolu.Processing.Cpp

Description

Support for CPP.

Synopsis

Documentation

cppLines :: Text -> IntSet Source #

Return an IntSet containing all lines which are affected by CPP.

eraseCppLines :: Text -> Text Source #

Replace all lines affected by CPP with blank lines.