todo
This commit is contained in:
parent
c3c8c23956
commit
cbf7fde8e1
|
@ -1,2 +0,0 @@
|
||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
|
||||||
pub struct List;
|
|
|
@ -1,9 +1,7 @@
|
||||||
mod function;
|
mod function;
|
||||||
mod list;
|
|
||||||
mod string;
|
mod string;
|
||||||
|
|
||||||
pub use function::Function;
|
pub use function::Function;
|
||||||
pub use list::List;
|
|
||||||
pub use string::Str;
|
pub use string::Str;
|
||||||
|
|
||||||
use std::{collections::BTreeMap, rc::Rc};
|
use std::{collections::BTreeMap, rc::Rc};
|
||||||
|
@ -12,7 +10,7 @@ pub type OrderedF64 = ordered_float::OrderedFloat<f64>;
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
pub enum Value<'s> {
|
pub enum Value<'s> {
|
||||||
List(List),
|
List(/* TODO: List impl (or dotted pair) */),
|
||||||
Vector(Rc<Vec<Self>>),
|
Vector(Rc<Vec<Self>>),
|
||||||
Map(Rc<BTreeMap<Self, Self>>),
|
Map(Rc<BTreeMap<Self, Self>>),
|
||||||
Symbol(Str<'s>),
|
Symbol(Str<'s>),
|
||||||
|
|
Loading…
Reference in a new issue