Update for improved handling of numbervars in term_to_atom as well as adding a check that the input term is non-cyclic.
Authored by: tswift 2019-09-26
Parent: [r9650]
Child: [r9652]