It's cool to observe how programming languages affect each other. Recently I've learned that `Seq.unfold` in #OCaml was "inspired" by `Seq.unfold` in its sibling F#. It in turn was inspired by `unfoldr` in #Haskell.
And there's also the pretty similar `std::iter::successors` in #Rust to consider...