From d1d7ab40675eb929ebcfbce85b1caafa35704a61 Mon Sep 17 00:00:00 2001 From: Erin Date: Sat, 6 Aug 2022 01:01:23 +0200 Subject: [PATCH] nil --- src/interpreter/value/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interpreter/value/mod.rs b/src/interpreter/value/mod.rs index 9224fa5..c3ef5ea 100644 --- a/src/interpreter/value/mod.rs +++ b/src/interpreter/value/mod.rs @@ -44,6 +44,7 @@ impl<'s> From> for Value<'s> { Self::Symbol("quote".into()), Self::DotPair(Rc::new(DotPair((*e).into(), Self::Nil))), ))), + Expr::Symbol("nil") => Self::Nil, Expr::Symbol(s) => Self::Symbol(s.into()), Expr::Keyword(s) => Self::Keyword(s.into()), Expr::Number(n) => Self::Number(n),