about summary refs log tree commit diff
path: root/src/libextra/fileinput.rs
AgeCommit message (Collapse)AuthorLines
2013-08-18More spelling corrections.Huon Wilson-1/+1
2013-08-10std: Rename Iterator.transform -> .mapErick Tryzelaar-1/+1
cc #5898
2013-08-07Forbid `priv` where it has no effectAlex Crichton-7/+7
This is everywhere except struct fields and enum variants.
2013-08-05Updated std::Option, std::Either and std::ResultMarvin Löbel-2/+2
- Made naming schemes consistent between Option, Result and Either - Changed Options Add implementation to work like the maybe monad (return None if any of the inputs is None) - Removed duplicate Option::get and renamed all related functions to use the term `unwrap` instead
2013-08-03remove obsolete `foreach` keywordDaniel Micay-8/+8
this has been replaced by `for`
2013-08-03replace all remaining `for` with `foreach` or `do`Daniel Micay-10/+15
2013-08-02replace `range` with an external iteratorDaniel Micay-1/+1
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-7/+7
2013-08-01make `in` and `foreach` get treated as keywordsDaniel Micay-11/+11
2013-07-17test: Fix tests.Patrick Walton-3/+5
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-10/+11
2013-07-08Correct merge failuresNiko Matsakis-1/+1
2013-07-08extra: Patch up code that was using irrefutable patterns incorrectly.Niko Matsakis-7/+8
2013-06-30Remove vec::{map, mapi, zip_map} and the methods, except for .map, since thisHuon Wilson-5/+4
is very common, and the replacement (.iter().transform().collect()) is very ugly.
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-11/+9
2013-06-23vec: remove BaseIter implementationDaniel Micay-1/+1
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-5/+5
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-06-14add IteratorUtil to the preludeDaniel Micay-1/+0
2013-06-12std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵Huon Wilson-1/+1
.as_bytes_with_null[_consume](). The first acts on &str and is not nul-terminated, the last two act on strings that are always null terminated (&'static str, ~str and @str).
2013-06-10std: replace str::each_split* with an iteratorHuon Wilson-4/+1
2013-06-09std: remove each_char* fns and methods from str, replaced by iterators.Huon Wilson-1/+2
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-11/+13
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
2013-05-30libextra: Require documentation by defaultAlex Crichton-0/+2
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+10
2013-05-23cleanup warnings from libextraErick Tryzelaar-9/+6
2013-05-22test: Update tests and import the prelude in some more places.Patrick Walton-0/+2
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+604
This only changes the directory names; it does not change the "real" metadata names.