HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleghc-exactprint-1.10.0.0Haskell2010

Language.Haskell.GHC.ExactPrint.ExactPrint

  • 1 type
  • 1 class
  • 8 values
classclass Typeable a => ExactPrint a where
#

An AST fragment with an annotation must be able to return the requirements for nesting another one, captured in an Entry, and to be able to use the rest of the exactprint machinery to print the element. In the analogy to Outputable, exact plays the role of ppr.

Methods

Instances116ExactPrint, …
valuemakeDeltaAst :: ExactPrint ast => ast -> ast
#

Transform concrete annotations into relative annotations. This should be unnecessary from GHC 9.10

Configuration

6 declarations
datadata EPOptions (m :: Type -> Type) a
#

The R part of RWS. The environment. Updated via local as we enter a new AST element, having a different anchor point.