Tweak has-cycle to check symbols again. flip-flopping on this

This commit is contained in:
Justin Ethier 2015-03-25 22:24:57 -04:00
parent 59e895be19
commit e0025483a0

View file

@ -566,7 +566,7 @@ static object Cyc_has_cycle(object lst) {
if (Cyc_is_cons(cdr(fast_lst)) == boolean_f) return boolean_f;
if (is_object_type(car(slow_lst)) &&
boolean_f == Cyc_is_boolean(car(slow_lst)) && // Avoid expected dupes
boolean_f == Cyc_is_symbol(car(slow_lst)) && //
//boolean_f == Cyc_is_symbol(car(slow_lst)) && //
eq(car(slow_lst), car(fast_lst))) return boolean_t;
slow_lst = cdr(slow_lst);