Reimplemnt for*/list: in TR so that it works.

Closes PR 13253.