complete all introductory documentation, except for the Easy Patterns

section
Also, removed some stray debug lines and added a printed newline
inbetween prompt and output
This commit is contained in:
Ava Hahn 2023-03-16 15:14:24 -07:00
parent 67af8bbd47
commit 20821057f2
Signed by untrusted user who does not match committer: affine
GPG key ID: 3A4645B8CF806069
3 changed files with 126 additions and 13 deletions

View file

@ -176,7 +176,6 @@ pub fn let_callback(ast: &Seg, syms: &mut SymTable) -> Result<Ctr, String> {
let mut result: Box<Ctr> = Box::new(Ctr::None);
if !eval_forms.circuit(&mut |eval_form: &Ctr| -> bool {
let res: Result<Box<Ctr>, String>;
println!("let: {}", eval_form);
if let Ctr::Seg(ref eval_tree) = eval_form {
res = eval(&eval_tree, &mut localsyms);
} else {