use crate::types::core::Expression; #[derive(Debug, Eq, PartialEq, Clone)] pub struct List { first: Box, rest: Box, } impl List { pub fn new(first: Box, rest: Box) -> List { List { first, rest } } } impl Expression for List { fn eval() {} fn code_gen() {} }