unfoldGoals

fun Term.unfoldGoals(): Sequence<Term>