about summary refs log tree commit diff
path: root/src/libcore/iterator.rs
AgeCommit message (Collapse)AuthorLines
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-719/+0
This only changes the directory names; it does not change the "real" metadata names.
2013-05-19Register snapshotsBrian Anderson-20/+0
2013-05-18fix stage0 compileDaniel Micay-0/+2
2013-05-18iterator: use advance to implement FilterMapIteratorDaniel Micay-9/+5
2013-05-18iterator: reword docstringDaniel Micay-1/+1
2013-05-18iterator: reuse iter::to_vec, and use &mut selfDaniel Micay-7/+4
2013-05-18iterator: make nth and last return OptionDaniel Micay-35/+15
There isn't a way to take the length of any iterator, so failing on a zero length would make these much less useful.
2013-05-18iterator: remove `first`Daniel Micay-24/+0
it's the same as `next.unwrap()`, but there's no way to check the length of an iterator so this isn't a good pattern
2013-05-18libcore: Add `IteratorUtil::all`, `any` methodgifnksm-0/+31
2013-05-18libcore: Add `AdditiveIterator`, `MultiplicativeIterator`, `OrdIterator`gifnksm-0/+79
2013-05-18libcore: Add `IteratorUtil::fold`, `count`gifnksm-0/+27
2013-05-17libcore: Add `IteratoUtil::nth`, `first`, `last` methodgifnksm-0/+81
2013-05-17libcore: Add `IteratorUtil::filter_map` methodgifnksm-0/+35
2013-05-17libcore: Add `IteratorUtil::to_vec()` methodgifnksm-0/+9
2013-05-10core: Use the new `for` protocolAlex Crichton-2/+20
2013-05-08rename iter::iter_to_vec to iter::to_vecDaniel Micay-1/+1
it's silly to duplicate the namespace in the fn name
2013-05-02libcore: Make `ChainIterator` take two different-typed `Iterator`s.gifnksm-6/+15
2013-04-24add a Counter iteratorDaniel Micay-8/+37
2013-04-20libcore: add a ScanIterator, a generalisation of MapIterator to have ↵Huon Wilson-2/+43
internal state.
2013-04-19iterator: add a bit of documentationDaniel Micay-1/+16
2013-04-19iterator: add a chain adaptorDaniel Micay-0/+42
2013-04-19libcore: add an UnfoldrIterator like Haskell's `unfoldr`Huon Wilson-0/+43
2013-04-19re-organize the iterator module a bitDaniel Micay-16/+16
2013-04-19move iterator adaptor tests to iterator moduleDaniel Micay-0/+67
2013-04-19takewhile -> take_while, dropwhile -> skip_whileDaniel Micay-7/+7
2013-04-19iterator: add skip and takeDaniel Micay-0/+61
2013-04-18add dropwhile and takewhile iteratorsDaniel Micay-0/+70
2013-04-18libcore: add an EnumerateIterator, like Python's `enumerate`.Huon Wilson-0/+25
2013-04-15iterator: use an IteratorUtil traitDaniel Micay-32/+37
2013-04-13initial iterator object libraryDaniel Micay-0/+101