Idris2Doc : Deriving.SpecialiseData.Common

Deriving.SpecialiseData.Common

(source)
Types/interfaces featured in the specialisation API
and implementations for them

Definitions

data SpecialisationError : Type
  Specialisation error

Totality: total
Visibility: public export
Constructors:
TaskTypeExtractionError : SpecialisationError
  Failed to extract polymorphic type name from task
UnusedVarError : SpecialisationError
  Unused variable
PartialSpecError : SpecialisationError
  Partial specification
InternalError : String -> SpecialisationError
  Internal error
UnnamedArgInLambdaError : SpecialisationError
  Lambda has unnamed arguments
UnnamedArgInPolyTyError : Name -> SpecialisationError
  Polymorphic type has unnamed arguments
MissingTypeInfoError : Name -> SpecialisationError
  Failed to get TypeInfo

Can occur either due to trying to specialise a non-type invocation
or due to not having the necessary TypeInfo in the NamesInfoInTypes instance

Hint: 
Show SpecialisationError
showSE : Show SpecialisationError
Visibility: export
record SpecialisationParams : Type
Totality: total
Visibility: public export
Constructor: 
MkSpecParams : Bool -> SpecialisationParams

Projection: 
.eraseConNames : SpecialisationParams -> Bool
.eraseConNames : SpecialisationParams -> Bool
Visibility: public export
eraseConNames : SpecialisationParams -> Bool
Visibility: public export
SpecialisationDefaults : SpecialisationParams
Visibility: public export
interface NamespaceProvider : (Type -> Type) -> Type
Parameters: m
Constructor: 
MkNSProvider

Methods:
provideNS : m Namespace

Implementation: 
Monad m => MonadTrans t => NamespaceProvider m => NamespaceProvider (t m)
provideNS : NamespaceProvider m => m Namespace
Visibility: public export
inNS : Monad m => Namespace -> NamespaceProvider m
Visibility: export
NoNS : Monad m => NamespaceProvider m
Visibility: export