Idris2Doc : Data.Array.All

Data.Array.All

(source)

Reexports

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

Definitions

dataEl : Lista->Lista->Type
Totality: total
Visibility: public export
Constructors:
ZEl : Elasas
SEl : Elas (v::bs) ->Elasbs
elToNat : Elasbs->Nat
Totality: total
Visibility: export
0elLemma : (el : Elas (v::bs)) ->LT (elToNatel) (lengthas)
Totality: total
Visibility: export
recordArrAll : (a->Type) ->Lista->Type
  An immutable heterogeneous array of size `n`.

This has different performance characteristics than
`Data.List.Quantifiers.All`: Lookup is `O(1)`, while
prepending and appending is `O(n)`.

Totality: total
Visibility: export
Constructor: 
AA : AnyPtr->ArrAllfas

Projection: 
.arr : ArrAllfas->AnyPtr
0HArr : ListType->Type
Totality: total
Visibility: public export
Index : (as : Lista) ->Fin (lengthas) ->a
Totality: total
Visibility: public export
elemToFin : Elemaas->Fin (lengthas)
Totality: total
Visibility: export
0ElemLemma : (el : Elemaas) ->a=Indexas (elemToFinel)
Totality: total
Visibility: export
at : ArrAllfas-> (x : Fin (lengthas)) ->f (Indexasx)
  Safely access a value in a heterogeneous array at the given position.

Totality: total
Visibility: export
elem : ArrAllfas-> (0a : {a:1835}) ->Elemaas=>fa
  Safely access a value in a heterogeneous array
at the position of the given tag

Totality: total
Visibility: export
dataMArrAll : Type-> (a->Type) ->Lista->Type
  A mutable array.

Totality: total
Visibility: export
Constructor: 
MA : AnyPtr->MArrAllsfas
0MHArr : Type->ListType->Type
Totality: total
Visibility: public export
set : MArrAllsfas-> (x : Fin (lengthas)) ->f (Indexasx) ->F1's
  Safely write a value to a mutable heterogeneous array.

Totality: total
Visibility: export
setElem : MArrAllsfas->fa->Elemaas=>F1's
  Safely write a value to a mutable heterogeneous array.

Totality: total
Visibility: export
setEls : MArrAllsfas->Allfbs->Elasbs->F1's
  Safely write a value to a mutable heterogeneous array.

Totality: total
Visibility: export
get : MArrAllsfas-> (x : Fin (lengthas)) ->F1s (f (Indexasx))
  Safely read a value from a mutable array.

This returns the values thus read with unrestricted quantity, paired
with a new linear token of quantity one to be further used in the
linear context.

Totality: total
Visibility: export
getElem : MArrAllsfas-> (0a : {a:2194}) ->Elemaas=>F1s (fa)
Totality: total
Visibility: export
setElems : Allfas->All (\{arg:0}=>Elem{arg:0}bs) as=>MArrAllsfbs->F1's
Totality: total
Visibility: export
mall1 : Allfas->F1s (MArrAllsfas)
  Fills a new mutable heterogeneous array bound to linear computation `s`.

Totality: total
Visibility: export
unsafeFreeze : MArrAllsfas->F1s (ArrAllfas)
Totality: total
Visibility: export
mall : Lift1sm=>Allfas->m (MArrAllsfas)
  Fills a new mutable heterogeneous array

Totality: total
Visibility: export
all : Allfas->ArrAllfas
  Creates a new immutable heterogeneous array

Totality: total
Visibility: export