* fixed and wrote test for lambda and function as arg case
* added license to userlib tests * added map impl to userlib * userlib tests now run and pass * all args are evaluated individually
This commit is contained in:
parent
8a91560921
commit
dcb2969b0a
7 changed files with 148 additions and 40 deletions
|
|
@ -51,6 +51,8 @@ pub fn eval(ast: &Seg, syms: &mut SymTable) -> Result<Box<Ctr>, String> {
|
|||
}
|
||||
},
|
||||
|
||||
Ctr::Lambda(ref l) => return Ok(call_lambda(l, arg_cdr, syms)?.clone()),
|
||||
|
||||
Ctr::Symbol(ref tok) => {
|
||||
let outer_scope_seg_holder: Seg;
|
||||
let args: &Seg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue