Idris2Doc : Generics.Derive

Generics.Derive

(source)

Reexports

importpublic Generics.SOP
importpublic Generics.Meta
importpublic Decidable.Equality
importpublic Language.Reflection.Util

Definitions

mkGeneric : Name
  Name of record `Generic`'s constructor.

Totality: total
Visibility: export
mkCode : ParamTypeInfo->TTImp
  Creates the syntax tree for the code of the given data type.
We export this since it might be useful elsewhere.

Totality: total
Visibility: export
GenericVis : Visibility->ListName->ParamTypeInfo->Res (ListTopLevel)
  Derives a `Generic` implementation for the given data type
and visibility.

Totality: total
Visibility: export
Generic : ListName->ParamTypeInfo->Res (ListTopLevel)
  Alias for `GenericVis Public`.

Totality: total
Visibility: export
MetaVis : Visibility->ListName->ParamTypeInfo->Res (ListTopLevel)
  Derives a `Meta` implementation for the given data type
and visibility.

Totality: total
Visibility: export
Meta : ListName->ParamTypeInfo->Res (ListTopLevel)
  Alias for `EqVis Public`.

Totality: total
Visibility: export
=DEPRECATED=
Eq : ListName->ParamTypeInfo->Res (ListTopLevel)
  Derives `Eq` for the given data type.

@deprecated : This is deprecated. Use `Derive.Eq.Eq` from elab-util.

Totality: total
Visibility: export
=DEPRECATED=
Ord : ListName->ParamTypeInfo->Res (ListTopLevel)
  Derives `Ord` for the given data type.

@deprecated : This is deprecated. Use `Derive.Ord.Ord` from elab-util.

Totality: total
Visibility: export
DecEq : ListName->ParamTypeInfo->Res (ListTopLevel)
  Derives `DecEq` for the given data type.

Totality: total
Visibility: export
=DEPRECATED=
Show : ListName->ParamTypeInfo->Res (ListTopLevel)
  Derives `Show` for the given data type.

@deprecated : This is deprecated. Use `Derive.Show.Show` from elab-util.

Totality: total
Visibility: export