diff --git a/kr/src/ast.rs b/kr/src/ast.rs index ae743e9..ab2ae89 100644 --- a/kr/src/ast.rs +++ b/kr/src/ast.rs @@ -12,7 +12,6 @@ use std::hash::{Hash,Hasher}; // -add current-hashes to if // -expand combiner_Return_ok with (func ...params) | func doesn't take de and func+params are return ok // -add recursive drop redundent veval -// -check if the error prop should be reform in PE // -mark rec-hash on DeriComb // -add compiler @@ -144,8 +143,8 @@ impl fmt::Display for MarkedForm { } } }, - MarkedForm::SuspendedEnvEval { hash, ids, x, e } => write!(f, "{{Sveval {} {}}}", x, e), - MarkedForm::SuspendedIf { hash, ids, c, t, e } => write!(f, "{{Sif {} {} {}}}", c, t, e), + MarkedForm::SuspendedEnvEval { hash, ids, x, e } => write!(f, "({:?}){{Sveval {} {}}}", ids, x, e), + MarkedForm::SuspendedIf { hash, ids, c, t, e } => write!(f, "({:?}){{Sif {} {} {}}}", ids, c, t, e), MarkedForm::SuspendedSymbol(name) => write!(f, "{}", name), MarkedForm::SuspendedEnvLookup { name, id } => write!(f, "{:?}({:?}env)", name, id), MarkedForm::SuspendedParamLookup { name, id, cdr_num, car } => write!(f, "{:?}({:?}{}{})", name, id, cdr_num, car), @@ -246,7 +245,6 @@ fn assoc_vec(kvs: Vec<(&str, Rc