Idris2Doc : Deriving.SpecialiseData.Codegen.Cast

Deriving.SpecialiseData.Codegen.Cast

(source)
Logic for generating cast functions and proofs over them

Definitions

mkMToPImplDecls : SpecTask -> UniResults -> (mt : TypeInfo) -> {auto 0 _ : AllTyArgsNamed mt} -> TypeMeta -> List Decl
  Generate specialised to polymorphic type conversion function declarations

Visibility: export
mkMToPSig : SpecTask -> (mt : TypeInfo) -> {auto 0 _ : AllTyArgsNamed mt} -> TTImp
  Generate specialised to polymorphic cast signature

Visibility: export
mkMToPDecls : SpecTask -> (mt : TypeInfo) -> {auto 0 _ : AllTyArgsNamed mt} -> List Decl
  Generate specialised to polymorphic cast declarations

Visibility: export
mkCastInjDecls : SpecTask -> UniResults -> (mt : TypeInfo) -> {auto 0 _ : AllTyArgsNamed mt} -> TypeMeta -> List Decl
  Derive cast injectivity proof

Visibility: export
mkPToMImplSig : SpecTask -> UniResults -> (mt : TypeInfo) -> {auto 0 _ : AllTyArgsNamed mt} -> TTImp
  Generate specialised to polymorphic type conversion function signature

Visibility: export
mkPToMImplDecls : SpecTask -> UniResults -> (mt : TypeInfo) -> {auto 0 _ : AllTyArgsNamed mt} -> TypeMeta -> List Decl
  Generate specialised to polymorphic type conversion function declarations

Visibility: export
mkPToMSig : SpecTask -> (mt : TypeInfo) -> {auto 0 _ : AllTyArgsNamed mt} -> TTImp
  Generate specialised to polymorphic cast signature

Visibility: export
mkPToMDecls : SpecTask -> (mt : TypeInfo) -> {auto 0 _ : AllTyArgsNamed mt} -> List Decl
  Generate specialised to polymorphic cast declarations

Visibility: export