diff options
| author | blake2-ppc <blake2-ppc> | 2013-06-24 02:34:38 +0200 |
|---|---|---|
| committer | blake2-ppc <blake2-ppc> | 2013-06-24 12:50:41 +0200 |
| commit | 6291702cf334f4b1fe41662bc3b0d996ca7ced19 (patch) | |
| tree | 76081ca5cd2e78c7bfd13d57a3f7185f06bf5783 /src/rt/rust_kernel.cpp | |
| parent | dfb7de8e0e6d305b0dc42c0f30a0c388b49b2493 (diff) | |
| download | rust-6291702cf334f4b1fe41662bc3b0d996ca7ced19.tar.gz rust-6291702cf334f4b1fe41662bc3b0d996ca7ced19.zip | |
iterator: Add `IteratorUtil::flat_map_` method
flat_map_ produces an iterator that maps each element to an iterator, and yields the elements of the produced iterators. This is the monadic bind :: M a -> (a -> M b) -> M b for iterators. Named just like the vec method, but with a trailing underline until the method resolution bug is resolved.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
