diff options
author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-10 18:38:49 +0300 |
---|---|---|
committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-10 18:38:49 +0300 |
commit | 06798d622327707ca3f3b42d65fc3d1a25ae3c57 (patch) | |
tree | c230f8ffc43f34a4077cf71b480e93357dbb24b1 /src/sexp/display.rs | |
parent | 2274a96d1cbd7a5b89bb6b5f51f6bbb0a0513587 (diff) | |
download | myslip-06798d622327707ca3f3b42d65fc3d1a25ae3c57.tar.gz myslip-06798d622327707ca3f3b42d65fc3d1a25ae3c57.zip |
Added term level type literals (for function type signatures)
Diffstat (limited to 'src/sexp/display.rs')
-rw-r--r-- | src/sexp/display.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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(), }) } |