summaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorJJ2023-04-13 01:30:35 +0000
committerJJ2023-04-13 01:30:35 +0000
commit56f47bb2e5816de7630569a8825914d0620983cc (patch)
treecf413d589a389d3ddd8f9a9321aed7cb7d30c215 /src/util.rs
parentfb1c4cd2b8e2efe4b03e8c93f2a69d712a96aff7 (diff)
subtyping wip
Diffstat (limited to 'src/util.rs')
-rw-r--r--src/util.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.rs b/src/util.rs
index b2b3035..68a8a19 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -66,6 +66,7 @@ pub fn Func(from: Type, to: Type) -> Type {
}
pub const Empty: Type = Type::Empty;
+pub const Error: Type = Type::Empty;
pub const Unit: Type = Type::Unit;
pub const Bool: Type = Type::Boolean;
pub const Nat: Type = Type::Natural;