From 8378170fbd136b36a123a0165d8d0040b4ff0741 Mon Sep 17 00:00:00 2001 From: greg Date: Mon, 14 May 2018 22:56:26 -0700 Subject: [PATCH] Kill comments --- schala-lang/src/eval.rs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/schala-lang/src/eval.rs b/schala-lang/src/eval.rs index e7d8106..33bcdd0 100644 --- a/schala-lang/src/eval.rs +++ b/schala-lang/src/eval.rs @@ -284,20 +284,6 @@ impl<'a> State<'a> { None => return Err(format!("Couldn't find value {}", name)), } }) - - /* - None => match self.values.lookup(&name) { - None => return Err(format!("Value {} not found", *name)), - Some(lookup) => match lookup { - Binding { val, .. } => Ok( - if let Expr::Func(Func::UserDefined { name: None, params, body }) = val { - Expr::Func(Func::UserDefined { name: Some(name.clone()), params: params.clone(), body: body.clone() }) //TODO here is unnecessary cloning - } else { - val.clone() - }) - } - } - */ } }