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/sexp/display.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sexp/display.rs') diff --git a/src/sexp/display.rs b/src/sexp/display.rs index a978f61..5d78e93 100644 --- a/src/sexp/display.rs +++ b/src/sexp/display.rs @@ -29,6 +29,8 @@ impl fmt::Display for SLeaf { Vector => "vector".to_string(), Print => "print".to_string(), Let => "let".to_string(), + Ty(t) => t.to_string(), + Arr => "->".to_string(), Nil => "()".to_string(), }) } -- cgit v1.2.3