summary refs log tree commit diff
path: root/src/libstd/list.rs
AgeCommit message (Collapse)AuthorLines
2012-03-27Add vec::each, vec::eachi, and list::eachMarijn Haverbeke-0/+20
For use with the new for construct. Issue #1619
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-1/+1
2012-03-15std: Swap the argument order of list::foldl to match vec::foldlBrian Anderson-4/+4
2012-03-14annotate libstd and start enforcing mutabilityNiko Matsakis-5/+5
2012-03-12stdlib: Make list::find do what the docs say it does.Patrick Walton-7/+5
Talked on #rust about this change, got approval from graydon and brson. Will bring up tomorrow at meeting to verify.
2012-03-10Use loop instead of while(true) in libraries and compiler itselfTim Chevalier-9/+7
And remove spurious fails/unreachable() calls.
2012-03-09std: Convert to rustdocBrian Anderson-74/+21
2012-02-22Remove preconditions from librariesMarijn Haverbeke-11/+2
Closes #1805
2012-01-31Change option::t to optionTim Chevalier-4/+4
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-27Make occurs check in ty::fixup_vars more reliableMarijn Haverbeke-1/+1
It wouldn't detect cycles that went through several type vars before. Closes #1464
2012-01-23s/block()/fn()/gNiko Matsakis-3/+3
2012-01-19lib: ";" to "," in enumsPatrick Walton-2/+2
2012-01-19stdlib: "tag" -> "enum"Patrick Walton-1/+1
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-9/+9
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-17libstd: Move std tests into libstdBrian Anderson-0/+112
2012-01-05Switch to new param kind bound syntaxMarijn Haverbeke-9/+9
And remove support for the old syntax
2012-01-05Express some list primitives in a way that doesn't copyMarijn Haverbeke-20/+22
It was somewhat embarassing that list::len copied its elements.
2011-12-29list: use predicate to enforce non-empty requirementLenny222-4/+31
2011-12-16Merge pull request #1317 from boggle/fix1315Graydon Hoare-3/+3
fix to #1315 + small additions to std::either and result
2011-12-16std: declared fns as pure where sensibleStefan Plantikow-3/+3
2011-12-16reorder args to the various vec, option fns so blk comes lastNiko Matsakis-1/+1
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-0/+2
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-0/+161