Dumb sketch of `static_for`.