From c121f20620499e9b7c497c82c7321474cbf59e1d Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sun, 10 Aug 2025 14:36:02 +0300 Subject: Implemented aka. Changed Nil:st type to NilType from an empty list. --- 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 4a9b54a..72e3693 100644 --- a/src/type/display.rs +++ b/src/type/display.rs @@ -22,6 +22,7 @@ impl fmt::Display for Type { QuoteTy => write!(f, "{}", "Quote"), VecType => write!(f, "{}", "Vector"), LetType => write!(f, "{}", "Let"), + NilType => write!(f, "()"), VecOf(ty) => write!(f, "({} ... {})", *ty, *ty), Arrow(a, b) => write!(f, "({} -> {})", a, b), List(types) => write!( -- cgit v1.2.3