From d64165e9e6af92bfe350e5d2cc46545b28dbb5c0 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Tue, 5 Aug 2025 18:07:50 +0300 Subject: Added vectors and tests for their evaluation and typing --- src/type/display.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/type/display.rs') diff --git a/src/type/display.rs b/src/type/display.rs index 8eb0647..6c3177a 100644 --- a/src/type/display.rs +++ b/src/type/display.rs @@ -20,6 +20,7 @@ impl fmt::Display for Type { Integer => write!(f, "{}", "Int"), Boolean => write!(f, "{}", "Bool"), QuoteTy => write!(f, "{}", "Quote"), + VecOf(ty) => write!(f, "({} ... {})", *ty, *ty), Arrow(a, b) => write!(f, "({} -> {})", a, b), List(types) => write!( f, -- cgit v1.2.3