summaryrefslogtreecommitdiff
path: root/src/Wasm/Constants.agda
diff options
context:
space:
mode:
authorChloe Brown <chloe.brown.00@outlook.com>2021-07-28 16:55:28 +0100
committerChloe Brown <chloe.brown.00@outlook.com>2021-07-28 16:55:28 +0100
commit9812bb2ae394b59ae9fcb7cf9b78fd260aa3e92a (patch)
treecc6b1b3aac88450004b64853b774f43a91b26275 /src/Wasm/Constants.agda
parentaacd555894fb559365774ddfa899656b95205e4e (diff)
Cleanup before working on 'Modules'
Diffstat (limited to 'src/Wasm/Constants.agda')
-rw-r--r--src/Wasm/Constants.agda11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Wasm/Constants.agda b/src/Wasm/Constants.agda
new file mode 100644
index 0000000..74682a8
--- /dev/null
+++ b/src/Wasm/Constants.agda
@@ -0,0 +1,11 @@
+{-# OPTIONS --without-K --safe #-}
+
+------------------------------------------------------------------------
+-- Big constant values
+
+module Wasm.Constants where
+
+open import Data.Nat using (ℕ)
+
+2^32 : ℕ
+2^32 = 4294967296