Idris2Doc : Deriving.SpecialiseData.Task

Deriving.SpecialiseData.Task

(source)
Specialisation task type and functions using it

Reexports

import public Control.Monad.Error.Interface
import public Data.DPair
import public Language.Reflection.Compat.TypeInfo
import public Language.Reflection.Logging

Definitions

record SpecTask : Type
  Specialisation task

Totality: total
Visibility: public export
Constructor: 
MkSpecTask : TTImp -> (tqArgs : List Arg) -> TTImp -> {auto 0 _ : All IsNamedArg tqArgs} -> (ttArgs : List Arg) -> {auto 0 _ : All IsNamedArg ttArgs} -> Namespace -> Name -> TTImp -> TTImp -> (polyTy : TypeInfo) -> {auto 0 _ : AllTyArgsNamed polyTy} -> SpecTask

Projections:
.currentNs : SpecTask -> Namespace
  Namespace in which specialiseData was called
.fullInvocation : SpecTask -> TTImp
  Invocation of polymorphic type extracted from unification task
.polyTy : SpecTask -> TypeInfo
  Polymorphic type's TypeInfo
0 .polyTyNamed : ({rec:0} : SpecTask) -> AllTyArgsNamed (polyTy {rec:0})
  Proof that all the constructors of the polymorphic type are named
.resultName : SpecTask -> Name
  Name of specialised type
.specInvocation : SpecTask -> TTImp
  Invocation of specialised type given default arguents
.tqArgs : SpecTask -> List Arg
0 .tqArgsNamed : ({rec:0} : SpecTask) -> All IsNamedArg (tqArgs {rec:0})
.tqLambda : SpecTask -> TTImp
  Full unification task
.tqRet : SpecTask -> TTImp
.ttArgs : SpecTask -> List Arg
  Unification task type
0 .ttArgsNamed : ({rec:0} : SpecTask) -> All IsNamedArg (ttArgs {rec:0})

Hints:
LogPosition SpecTask
Show SpecTask
.tqLambda : SpecTask -> TTImp
  Full unification task

Visibility: public export
tqLambda : SpecTask -> TTImp
  Full unification task

Visibility: public export
.tqArgs : SpecTask -> List Arg
Visibility: public export
tqArgs : SpecTask -> List Arg
Visibility: public export
.tqRet : SpecTask -> TTImp
Visibility: public export
tqRet : SpecTask -> TTImp
Visibility: public export
0 .tqArgsNamed : ({rec:0} : SpecTask) -> All IsNamedArg (tqArgs {rec:0})
Visibility: public export
0 tqArgsNamed : ({rec:0} : SpecTask) -> All IsNamedArg (tqArgs {rec:0})
Visibility: public export
.ttArgs : SpecTask -> List Arg
  Unification task type

Visibility: public export
ttArgs : SpecTask -> List Arg
  Unification task type

Visibility: public export
0 .ttArgsNamed : ({rec:0} : SpecTask) -> All IsNamedArg (ttArgs {rec:0})
Visibility: public export
0 ttArgsNamed : ({rec:0} : SpecTask) -> All IsNamedArg (ttArgs {rec:0})
Visibility: public export
.currentNs : SpecTask -> Namespace
  Namespace in which specialiseData was called

Visibility: public export
currentNs : SpecTask -> Namespace
  Namespace in which specialiseData was called

Visibility: public export
.resultName : SpecTask -> Name
  Name of specialised type

Visibility: public export
resultName : SpecTask -> Name
  Name of specialised type

Visibility: public export
.fullInvocation : SpecTask -> TTImp
  Invocation of polymorphic type extracted from unification task

Visibility: public export
fullInvocation : SpecTask -> TTImp
  Invocation of polymorphic type extracted from unification task

Visibility: public export
.specInvocation : SpecTask -> TTImp
  Invocation of specialised type given default arguents

Visibility: public export
specInvocation : SpecTask -> TTImp
  Invocation of specialised type given default arguents

Visibility: public export
.polyTy : SpecTask -> TypeInfo
  Polymorphic type's TypeInfo

Visibility: public export
polyTy : SpecTask -> TypeInfo
  Polymorphic type's TypeInfo

Visibility: public export
0 .polyTyNamed : ({rec:0} : SpecTask) -> AllTyArgsNamed (polyTy {rec:0})
  Proof that all the constructors of the polymorphic type are named

Visibility: public export
0 polyTyNamed : ({rec:0} : SpecTask) -> AllTyArgsNamed (polyTy {rec:0})
  Proof that all the constructors of the polymorphic type are named

Visibility: public export
inGenNS : SpecTask -> Name -> Name
  Prepend namespace into which everything is generated to name

Visibility: export
getTask : Monad m => NamespaceProvider m => MonadError SpecialisationError m => NamesInfoInTypes => Name -> TTImp -> TTImp -> m SpecTask
  Get all the information needed for specialisation from task

Visibility: export
forallMTArgs : SpecTask -> TTImp -> TTImp
  Generate IPi with implicit type arguments and given return

Visibility: export
applyMTArgs : SpecTask -> TTImp -> TTImp
Visibility: export