Idris2Doc : Derive.ToJSON.Simple

Derive.ToJSON.Simple

(source)

Reexports

importpublic Derive.Show

Definitions

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

TODO: Use fresh name for `v`

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

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

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

Totality: total
Visibility: export
toJsonClauses : ListName->Options->Name->TypeInfo->ListClause
Totality: total
Visibility: export
toJsonDef : ListName->Options->Name->TypeInfo->Decl
Totality: total
Visibility: export
customToJSON : Visibility->Options->ListName->ParamTypeInfo->Res (ListTopLevel)
Totality: total
Visibility: export
ToJSON : ListName->ParamTypeInfo->Res (ListTopLevel)
  Generate declarations and implementations for `ToJSON` for a given data type
using default settings.

Totality: total
Visibility: export