Idris2Doc : Data.Fun.Extra

Data.Fun.Extra

Definitions

uncurry : Funtscod->HVectts->cod
  Apply an n-ary function to an n-ary tuple of inputs

Totality: total
Visibility: public export
curry : (HVectts->cod) ->Funtscod
  Apply an n-ary function to an n-ary tuple of inputs

Totality: total
Visibility: public export
homoFunNeut_ext : Fun [] cod->idcod
Totality: total
Visibility: public export
homoFunMult_ext : Fun (rs++ss) cod->(.) (Funrs) (Funss) cod
Totality: total
Visibility: public export
homoFunNeut_inv : idcod->Fun [] cod
Totality: total
Visibility: public export
homoFunMult_inv : (.) (Funrs) (Funss) cod->Fun (rs++ss) cod
Totality: total
Visibility: public export
applyPartially : Fun (ts++ss) cod->HVectts->Funsscod
  Apply an n-ary function to an n-ary tuple of inputs

Totality: total
Visibility: public export
uncurryAll : Alltscod-> (xs : HVectts) ->uncurrycodxs
  Apply an n-ary dependent function to its tuple of inputs (given by an HVect)

Totality: total
Visibility: public export
curryAll : ((xs : HVectts) ->uncurrycodxs) ->Alltscod
Totality: total
Visibility: public export
homoAllNeut_ext : Fun [] cod->idcod
Totality: total
Visibility: public export
extractWitness : Extsr->HVectts
Totality: total
Visibility: public export
extractWitnessCorrect : (f : Extsr) ->uncurryr (extractWitnessf)
Totality: total
Visibility: public export
introduceWitness : (witness : HVectts) ->uncurryrwitness->Extsr
Totality: total
Visibility: public export
dataPointwise : (a->b->Type) ->Vectna->Vectnb->Type
Totality: total
Visibility: public export
Constructors:
Nil : Pointwiser [] []
(::) : rts->Pointwisertsss->Pointwiser (t::ts) (s::ss)
precompose : Pointwise (\a, b=>a->b) tsss->Funsscod->Funtscod
Totality: total
Visibility: public export
chainUncurry : (g : Funtsr) -> (f : (r->r')) -> (elems : HVectts) ->f (uncurrygelems) =uncurry (chainfg) elems
  Uncurrying a Fun and then composing with a normal function
is extensionally equal to
composing functions using `chain`, then uncurrying.

Totality: total
Visibility: public export