Idris2Doc : Derive.BarbieInfo

Derive.BarbieInfo

(source)

Definitions

dataToType : TTImp->Type
  Proof that a `TTImp` corresponds to `k -> Type` for some `k`.

Totality: total
Visibility: public export
Constructor: 
IsToType : ToType (IPif1MWExplicitArgn2k (ITypef3))
toType : (t : TTImp) ->Maybe (ToTypet)
Totality: total
Visibility: public export
dataBarbieArgs : VectnArg->Type
  Proof that the last in a list of arguments is of type `Type -> Type`

Totality: total
Visibility: public export
Constructors:
BAHere : ToTypet=>BarbieArgs [MkArgcExplicitArg (Justn) t]
BAThere : BarbieArgsvs->BarbieArgs (v::vs)
barbieArgs : (vs : VectnArg) ->Maybe (BarbieArgsvs)
Totality: total
Visibility: public export
barbieArg : BarbieArgsvs->Name
  Name of the last argument of a `Barbie` type constructor.

Totality: total
Visibility: public export
barbieKind : BarbieArgsvs->TTImp
  Name of the last argument of a `Barbie` type constructor.

Totality: total
Visibility: public export
recordBarbieInfo : Type
  Proof that a parameterized type is actually a `Barbie`.

Totality: total
Visibility: public export
Constructor: 
BI : (info : ParamTypeInfo) ->BarbieArgs ((info.info) .args) ->BarbieInfo

Projections:
.info : BarbieInfo->ParamTypeInfo
.prf : ({rec:0} : BarbieInfo) ->BarbieArgs (((info{rec:0}) .info) .args)

Hint: 
NamedBarbieInfo
.info : BarbieInfo->ParamTypeInfo
Totality: total
Visibility: public export
info : BarbieInfo->ParamTypeInfo
Totality: total
Visibility: public export
.prf : ({rec:0} : BarbieInfo) ->BarbieArgs (((info{rec:0}) .info) .args)
Totality: total
Visibility: public export
prf : ({rec:0} : BarbieInfo) ->BarbieArgs (((info{rec:0}) .info) .args)
Totality: total
Visibility: public export
hasFArg : Name->TTImp->Bool
Totality: total
Visibility: public export
.explicitArgs : BarbieInfo->ListName
  Names of all type arguments of a barbie, except the last one

Totality: total
Visibility: public export
.applied : BarbieInfo->TTImp
  Returns a type constructor
applied to the names of its explicit arguments except the last one

Totality: total
Visibility: public export
.implicits : BarbieInfo->ListArg
  Returns a list of implicit arguments corresponding
to the data type's explicit arguments (except the last one)

Totality: total
Visibility: public export
.kind : BarbieInfo->TTImp
  Returns the kind of the first argument of the last parameter of
a barbie.

Totality: total
Visibility: public export