aboutsummaryrefslogtreecommitdiff
path: root/src/sexp/display.rs
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.kronqvist@iki.fi>2025-08-10 19:16:51 +0300
committerJoel Kronqvist <joel.kronqvist@iki.fi>2025-08-10 19:16:51 +0300
commitd6d1ec80ffcc0b13234b170a91b920371078a027 (patch)
treea8347b04ad354e3f2cb265b5d506a4891853cf7f /src/sexp/display.rs
parent06798d622327707ca3f3b42d65fc3d1a25ae3c57 (diff)
downloadmyslip-d6d1ec80ffcc0b13234b170a91b920371078a027.tar.gz
myslip-d6d1ec80ffcc0b13234b170a91b920371078a027.zip
Added tests for functions
Diffstat (limited to 'src/sexp/display.rs')
-rw-r--r--src/sexp/display.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sexp/display.rs b/src/sexp/display.rs
index 5d78e93..eff3904 100644
--- a/src/sexp/display.rs
+++ b/src/sexp/display.rs
@@ -29,6 +29,7 @@ impl fmt::Display for SLeaf {
Vector => "vector".to_string(),
Print => "print".to_string(),
Let => "let".to_string(),
+ Fun => "fn".to_string(),
Ty(t) => t.to_string(),
Arr => "->".to_string(),
Nil => "()".to_string(),