update toplevel comments, add mutable stack to zipped acyclic iterators

This commit is contained in:
Mark Thom
2020-04-19 16:01:35 -06:00
parent 2c92be5e3d
commit 8ce377d033
4 changed files with 24 additions and 8 deletions

View File

@@ -158,7 +158,7 @@ impl MachineError {
pub(super)
fn interrupt_error() -> Self {
let stub = functor!("$interrupt_thrown");
MachineError {
stub,
location: None,

View File

@@ -1969,7 +1969,8 @@ impl MachineState {
iter.first_to_expire != Ordering::Equal
}
pub(super) fn compare_term_test(&self, a1: &Addr, a2: &Addr) -> Option<Ordering> {
pub(super)
fn compare_term_test(&self, a1: &Addr, a2: &Addr) -> Option<Ordering> {
let mut iter = self.zipped_acyclic_pre_order_iter(*a1, *a2);
while let Some((v1, v2)) = iter.next() {