BTW, see this paper for an implementation of tabling that guarantees ordering:
2 Likes
BTW, see this paper for an implementation of tabling that guarantees ordering: