aboutsummaryrefslogtreecommitdiff
path: root/src/type/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/type/mod.rs')
-rw-r--r--src/type/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/type/mod.rs b/src/type/mod.rs
index e4c0841..e29e069 100644
--- a/src/type/mod.rs
+++ b/src/type/mod.rs
@@ -16,6 +16,8 @@ pub enum Type {
Boolean,
+ QuoteTy,
+
Arrow(Box<Type>, Box<Type>),
List(Vec<Type>),
@@ -92,6 +94,7 @@ impl Type {
match self {
Integer => Ok(()),
Boolean => Ok(()),
+ QuoteTy => Ok(()),
Arrow(a, b) => b.is_concrete().and_then(|_ok| a.is_concrete()),
List(v) => {
let mut res = Ok(());