On Thu, Jan 12, 2012 at 7:30 AM, Rust <[email protected]> wrote:
> For example: `str::split` splits a string and returns a list/vector of
> sub-strings.

In C++ or D you could have a lazy split with an STL iterator/Phobos
range adapter that turns an iterator over objects into an iterator
over slices. Now that Rust has typeclasses, could a similar design
work?

-Joe
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to