Use (doseq) instead of (for)

A for is lazily evaluated, which isn't what we want here.