Thanks for both answers. They are nice workarounds, but I think that something like an Iterators.vec would convey semantics better. I will make a PR.
EDIT Silly me, there is IterTools.ivec.
Thanks for both answers. They are nice workarounds, but I think that something like an Iterators.vec would convey semantics better. I will make a PR.
EDIT Silly me, there is IterTools.ivec.