Idris2Doc : Deriving.SpecialiseData.Utils.TypeInfo

Deriving.SpecialiseData.Utils.TypeInfo

(source)
Specialiser-specific extension functions for TypeInfo, Con, and Arg

Definitions

.appsWith : (args : List Arg) -> {auto 0 _ : All IsNamedArg args} -> (Name -> TTImp) -> SortedMap Name TTImp -> List AnyApp
  Generate a List AnyApp for given argument List,
with arguments retrieved from the map if present or generated with `fallback`

Visibility: export
.apply : (ti : TypeInfo) -> {auto 0 _ : AllTyArgsNamed ti} -> (Name -> TTImp) -> SortedMap Name TTImp -> TTImp
  Returns a full application of the given type constructor
with argument values sourced from `argValues`
or generated with `fallback` if not present

Visibility: export
.apply : (con : Con) -> {auto 0 _ : ConArgsNamed con} -> (Name -> TTImp) -> SortedMap Name TTImp -> TTImp
  Returns a full application of the given constructor
with argument values sourced from `argValues`
or generated with `fallback` if not present

Visibility: export