Idris2Doc : Deriving.DepTyCheck.Util.Specialisation

Deriving.DepTyCheck.Util.Specialisation

(source)

Reexports

importpublic Control.Monad.Either
importpublic Data.DPair
importpublic Data.List.Ex
importpublic Data.List.Map
importpublic Data.SortedMap
importpublic Data.SortedMap.Extra
importpublic Data.SortedSet
importpublic Deriving.DepTyCheck.Gen.ForOneType.Interface
importpublic Deriving.SpecialiseData
importpublic Language.Reflection.Unify
importpublic Data.Hashable
importpublic Data.Hashable.Base

Definitions

formGivenVals : (s : SortedSet{_:9670}) ->ListTTImp->Vect (s.size) TTImp
  Given a set of given argument indices, convert a list of their values into a vector that can be fed to `callGen`

The values should be listed for indices in ascending order
(i.e. how these indices would be sorted if we called `toList` on the set)

Totality: total
Visibility: export
specialiseIfNeeded : Elaborationm=>NamesInfoInTypes=>ConsRecs=>DerivationClosurem=> (sig : GenSignature) ->TTImp->Vect ((sig.givenParams) .size) TTImp->m (MaybeTTImp)
Totality: total
Visibility: export