nil
This commit is contained in:
parent
a547dc711c
commit
d1d7ab4067
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue