in reply to How can I create an iterator that works inside foreach()
foreach loops over a LIST. Your iterator returns a list of one value so foreach is satisfied.