Idris2Doc : Deriving.SpecialiseData.Utils.Quantifiers

Deriving.SpecialiseData.Utils.Quantifiers

(source)
Utility functions for manipulating collection quantifiers

Reexports

import public Data.DPair

Definitions

0 snoc : All p prev -> p new -> All p (snoc prev new)
  Proof that Vect.All works over Vect.snoc

Visibility: export
fromListAll : (l : List t) -> {auto 0 _ : All p l} -> Subset (Vect (length l) t) (All p)
  List + List.All to Vect + Vect.All

Visibility: export
0 snoc : All p prev -> p new -> All p (snoc prev new)
  Proof that List.All works over List.snoc

Visibility: export
toListAll : (sl : SnocList t) -> (0 _ : All p sl) -> Subset (List t) (All p)
  SnocList + SnocList.All to List + List.All

Visibility: export