From 06798d622327707ca3f3b42d65fc3d1a25ae3c57 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sun, 10 Aug 2025 18:38:49 +0300 Subject: Added term level type literals (for function type signatures) --- src/type/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/type/mod.rs') diff --git a/src/type/mod.rs b/src/type/mod.rs index 9c2f89c..c138bba 100644 --- a/src/type/mod.rs +++ b/src/type/mod.rs @@ -17,6 +17,8 @@ pub enum Type { Boolean, + TypeLit, + QuoteTy, //constructor Arrow(Box, Box), @@ -111,6 +113,7 @@ impl Type { VecType => Ok(()), LetType => Ok(()), NilType => Ok(()), + TypeLit => Ok(()), Arrow(a, b) => b.is_concrete().and_then(|_ok| a.is_concrete()), List(v) => { let mut res = Ok(()); -- cgit v1.2.3