HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

ModuleAgda-2.7.0.1Haskell2010

Agda.Syntax.Concrete.Pretty

Pretty printer for the concrete syntax.

  • 2 types
  • 17 values
  • PackageAgda-2.7.0.1
  • Exports19
  • LanguageHaskell2010
  • LicenceMIT
  • SourcePretty.hs
valueprettyHiding :: LensHiding a => a -> (Doc -> Doc) -> Doc -> Doc
#

prettyHiding info visible doc puts the correct braces around doc according to info info and returns visible doc if the we deal with a visible thing.

Show the attributes necessary to recover a modality, in long-form (e.g. using at-syntax rather than dots). For the default modality, the result is at-ω (rather than the empty document). Suitable for showing modalities outside of binders.

newtypenewtype Tel
#

Constructors

Instances1Pretty
  • Pretty TelDefined in Agda-2.7.0.1 · Agda.Syntax.Concrete.Pretty

Orphan instances

67 instances