Idris2Doc : Derive.Pretty

Derive.Pretty

(source)

Reexports

importpublic Text.PrettyPrint.Bernardy
importpublic Derive.Show

Definitions

dataPlaceHolder : Type
Totality: total
Visibility: public export
Constructor: 
US : PlaceHolder

Hint: 
PrettyPlaceHolder
generalPrettyType : ListArg->TTImp->TTImp
  General type of a `prettyPrec` function with the given list
of implicit and auto-implicit arguments, plus the given argument type
to be displayed.

Totality: total
Visibility: export
prettyClaim : Visibility->Name->ParamTypeInfo->Decl
  Top-level function declaration implementing the `prettyPrec` function for
the given data type.

Totality: total
Visibility: export
prettyImplClaim : Visibility->Name->ParamTypeInfo->Decl
  Top-level declaration of the `Pretty` implementation for the given data type.

Totality: total
Visibility: export
prettyImplDef : Name->Name->Decl
  Top-level definition of the `Pretty` implementation for the given data type.

Totality: total
Visibility: export
prettyClauses : ListName->MaybeName->TypeInfo->ListClause
Totality: total
Visibility: export
prettyDef : ListName->Name->TypeInfo->Decl
Totality: total
Visibility: export
derivePretty : Elab (Prettyf)
  Derive an implementation of `Pretty a` for a custom data type `a`.

Note: This is mainly to be used for indexed data types. Consider using
`derive` together with `Derive.Pretty.Pretty` for parameterized data types.

Totality: total
Visibility: export
PrettyVis : Visibility->ListName->ParamTypeInfo->Res (ListTopLevel)
  Generate declarations and implementations for `Pretty` for a given data type.

Totality: total
Visibility: export
Pretty : ListName->ParamTypeInfo->Res (ListTopLevel)
  Alias for `PrettyVis Public`

Totality: total
Visibility: export