Add linear array module

This commit is contained in:
Kiana Sheibani 2023-01-30 20:42:44 -05:00
parent 13d5f7aa21
commit a244acc7f1
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
3 changed files with 161 additions and 0 deletions

View file

@ -46,6 +46,11 @@ data Array : (s : Vect rk Nat) -> (a : Type) -> Type where
%name Array arr
export
unsafeMkArray : Order -> Vect rk Nat -> (s : Vect rk Nat) -> PrimArray a -> Array s a
unsafeMkArray = MkArray
--------------------------------------------------------------------------------
-- Properties of arrays
--------------------------------------------------------------------------------