This commit is contained in:
Erin 2022-08-06 01:01:23 +02:00 committed by ondra05
parent a547dc711c
commit d1d7ab4067

View file

@ -44,6 +44,7 @@ impl<'s> From<Expr<'s>> for Value<'s> {
Self::Symbol("quote".into()), Self::Symbol("quote".into()),
Self::DotPair(Rc::new(DotPair((*e).into(), Self::Nil))), Self::DotPair(Rc::new(DotPair((*e).into(), Self::Nil))),
))), ))),
Expr::Symbol("nil") => Self::Nil,
Expr::Symbol(s) => Self::Symbol(s.into()), Expr::Symbol(s) => Self::Symbol(s.into()),
Expr::Keyword(s) => Self::Keyword(s.into()), Expr::Keyword(s) => Self::Keyword(s.into()),
Expr::Number(n) => Self::Number(n), Expr::Number(n) => Self::Number(n),