mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-09 17:15:06 +03:00
14 lines
341 B
Plaintext
14 lines
341 B
Plaintext
/*
|
|
* Copyright (c) 2020 Galois, Inc.
|
|
* Distributed under the terms of the BSD3 license (see LICENSE file)
|
|
*/
|
|
|
|
module Array where
|
|
|
|
primitive type Array : * -> * -> *
|
|
|
|
primitive arrayConstant : {a, b} b -> (Array a b)
|
|
primitive arrayLookup : {a, b} (Array a b) -> a -> b
|
|
primitive arrayUpdate : {a, b} (Array a b) -> a -> b -> (Array a b)
|
|
|