update ~for to use sequence-generate