From 196954326e44ee4994c851438413b580863fbc8a Mon Sep 17 00:00:00 2001 From: greg Date: Tue, 12 Jun 2018 20:44:20 -0700 Subject: [PATCH] Print bare data constructor --- schala-lang/src/eval.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/schala-lang/src/eval.rs b/schala-lang/src/eval.rs index 8cc40a0..bfc5031 100644 --- a/schala-lang/src/eval.rs +++ b/schala-lang/src/eval.rs @@ -77,6 +77,7 @@ impl Expr { UserDefined { name: None, .. } => format!(""), UserDefined { name: Some(name), .. } => format!("", name), }, + Expr::Constructor { name } => format!("", name), Expr::Tuple(exprs) => paren_wrapped_vec(exprs), _ => format!("{:?}", self), }