diff options
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 eff3904..9f54efe 100644 --- a/src/sexp/display.rs +++ b/src/sexp/display.rs @@ -25,11 +25,13 @@ impl fmt::Display for SLeaf { False => "false".to_string(), Int(x) => x.to_string(), Var(s) => s.to_string(), + RestPat(s) => format!("..{s}"), Quote => "quote".to_string(), Vector => "vector".to_string(), Print => "print".to_string(), Let => "let".to_string(), Fun => "fn".to_string(), + Case => "case".to_string(), Ty(t) => t.to_string(), Arr => "->".to_string(), Nil => "()".to_string(), |