From 540a84fb9288699b534e98c8c5d0e649aaa1c2ba Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Thu, 14 Aug 2025 15:42:49 +0300 Subject: feat: added rest of types to the parser also fixed function tests in check.rs --- src/type/display.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/type/display.rs') diff --git a/src/type/display.rs b/src/type/display.rs index 27f1427..b562d7b 100644 --- a/src/type/display.rs +++ b/src/type/display.rs @@ -32,7 +32,7 @@ impl fmt::Display for Type { VecType => write!(f, "{}", "Vector"), LetType => write!(f, "{}", "Let"), NilType => write!(f, "Nil"), - TypeLit => write!(f, "[type literal]"), + TypeLit => write!(f, "Type"), VecOf(ty) => write!(f, "({} ...)", *ty), Arrow(a, b) => write!(f, "({} -> {})", a, b), List(types) => write!( -- cgit v1.2.3