Idris2Doc : Data.List.Quantifiers.Extra

Data.List.Quantifiers.Extra

(source)

Reexports

importpublic Data.List.Elem
importpublic Data.List.Quantifiers

Definitions

0HSum : ListType->Type
  Just like `HList` is an alias for `All id`, this is an
alias for `Any id`.

Totality: total
Visibility: public export
0Has : a->Lista->Type
  Proof that a value is present in a list. This is
just an alias for `Data.List.Elem` with a name that's
sometimes more fitting.

Totality: total
Visibility: public export
negate : Negty=>ty->ty
  The underlying of unary minus. `-5` desugars to `negate (fromInteger 5)`.

Totality: total
Visibility: public export
Fixity Declaration: prefix operator, level 10
0(-) : (ts : Lista) -> (v : a) ->Hasvts=>Lista
  Removes an element from a list. This is used to
calculate the list of effects after a single effect
was properly handled.

Totality: total
Visibility: public export
Fixity Declarations:
infixl operator, level 8
prefix operator, level 10
inject : Hastts=>ft->Anyfts
  Inject a value into a `Any f ts`.

Totality: total
Visibility: public export
widen : All (\{arg:0}=>Has{arg:0}ts) ss=>Anyfss->Anyfts
  Injects a heterogeneous sum into a larger one.

Totality: total
Visibility: public export
project : (0t : k) ->Hastts=>Anyfts->Maybe (ft)
  Tries to extract a value from a `Any f ts`.

Totality: total
Visibility: public export
project' : Hastts=>Anyfts->Maybe (ft)
  Tries to extract a value from a `Any f ts`.

Totality: total
Visibility: public export
project1 : Anyf [t] ->ft
  Extracts the only possible value from a unary sum.

Totality: total
Visibility: public export
decomp : {autoprf : Hastts} ->Anyfts->Either (Anyf (ts-t)) (ft)
  Extract one of the values from an `Any f ts`.

Totality: total
Visibility: public export
hmap : (fv->gv) ->Anyfks->Anygks
Totality: total
Visibility: public export
hzipWith : (fv->gv->hv) ->Allfks->Anygks->Anyhks
Totality: total
Visibility: public export
collapse : (fv->x) ->Anyfks->x
Totality: total
Visibility: public export
collapse' : Any (constx) ks->x
Totality: total
Visibility: public export
hsequence : Applicativef=>Any (f.g) ks->f (Anygks)
Totality: total
Visibility: public export
hmap : (fv->gv) ->Allfks->Allgks
Totality: total
Visibility: public export
hmapW : ((v : k) ->fv->gv) ->Allfks->Allgks
Totality: total
Visibility: public export
hzipWith : (fv->gv->hv) ->Allfks->Allgks->Allhks
Totality: total
Visibility: public export
hzipWithW : ((v : k) ->fv->gv->hv) ->Allfks->Allgks->Allhks
Totality: total
Visibility: public export
happly : All (\x=>fx->gx) ks->Anyfks->Anygks
Totality: total
Visibility: public export
happly' : All (\x=>fx->t) ks->Anyfks->t
Totality: total
Visibility: public export
hfill : ((v : k) ->fv) ->Allfks
Totality: total
Visibility: public export
hconst : t->All (constt) ks
Totality: total
Visibility: public export
hpure : All (const ()) ks=>fv->Allfks
Totality: total
Visibility: public export
hfoldl : (acc->fv->acc) ->acc->Allfks->acc
Totality: total
Visibility: public export
hfoldMap : Monoidm=> (fv->m) ->Allfks->m
Totality: total
Visibility: public export
hsequence : Applicativef=>All (f.g) ks->f (Allgks)
Totality: total
Visibility: public export