about summary refs log tree commit diff
path: root/src/lib/list.rs
AgeCommit message (Collapse)AuthorLines
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-161/+0
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-8/+9
This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177
2011-11-18Implement a last-use-of-local finding algorithmMarijn Haverbeke-0/+17
Issue #925
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-16Replace 'mutable?' with 'const'Brian Anderson-1/+1
2011-11-02Rename car/cdr to head/tail in std::listMarijn Haverbeke-4/+4
Closes #1086
2011-10-28stdlib: Fix the list::foldl implementationBrian Anderson-7/+7
2011-10-28stdlib: Rename list::length to list::len to match vec::lenBrian Anderson-2/+2
2011-10-28stdlib: Rename the 'ls_' param in list functions to 'ls'Brian Anderson-7/+7
2011-10-28stdlib: Make list::from_vec more efficientBrian Anderson-7/+1
2011-10-28stdlib: make list::from_vec take [mutable? T]Brian Anderson-1/+1
2011-10-26Add more std documentationBrian Anderson-1/+73
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-8/+8
Closes #1067
2011-10-20Make fn denote a bare function. Convert fn to fn@ as neededBrian Anderson-1/+1
2011-10-07Parse and typecheck by-value and by-ref arg specsMarijn Haverbeke-1/+1
Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008
2011-09-12Factor imports mindlessly.Graydon Hoare-2/+1
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-10/+9
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-08-20ReformatBrian Anderson-15/+6
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-18Remove or _-prefix all unused function argumentsMarijn Haverbeke-1/+1
This should make the compilation process a bit less noisy.
2011-08-16Port the stdlib to the expr foo::<T> syntax.Erick Tryzelaar-2/+2
2011-08-16Port the stdlib to the decl foo<T> syntax.Erick Tryzelaar-10/+10
2011-08-16Port the stdlib to the typaram foo<T> syntax.Erick Tryzelaar-10/+10
2011-08-16Rename std::ivec to std::vecBrian Anderson-1/+1
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-1/+1
2011-08-12Remove more vectors from stdBrian Anderson-2/+2
2011-08-12Change a bunch of places in the stdlib to use blocks.Michael Sullivan-2/+3
2011-08-09Do some cleanup in stdlib.Michael Sullivan-13/+18
2011-07-29Enable kind checking on typarams, fix kind constraints in library and comp.Graydon Hoare-1/+1
2011-07-29Turn on kind propagation for typarams. Annotate a bunch of typarams in rustc ↵Graydon Hoare-7/+7
and libstd.
2011-07-27Reformat for new syntaxMarijn Haverbeke-42/+35
2011-06-24Remove res idents from stdlibMarijn Haverbeke-1/+1
2011-06-16Reformat a bunch of recent churn.Graydon Hoare-9/+3
2011-06-15Fix unsafe uses of aliases in tail callsMarijn Haverbeke-18/+35
2011-06-15Fix a bunch of compile-command lines to use RBUILDGraydon Hoare-1/+1
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-49/+21
2011-05-31stdlib: Remove unneeded type params from alt patternsBrian Anderson-12/+12
2011-05-27Add list function 'has'.Paul Stansifer-0/+13
2011-05-26Add a list append function, which I didn't end up using, but why not add it?Tim Chevalier-0/+14
2011-05-22stdlib: Remove unneeded fail statements from std::list. Remove FIXMEsBrian Anderson-3/+0
2011-05-22stdlib: Do tail calls in std::list. Remove FIXMEsBrian Anderson-7/+2
2011-05-22stdlib: Add list::from_vecBrian Anderson-0/+11
2011-05-22stdlib: Reindent list.rsBrian Anderson-30/+30
2011-05-12Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke-0/+77
This should be a snapshot transition.
2011-05-06Rename std modules to be camelcasedMarijn Haverbeke-66/+0
(Have fun mergining your stuff with this.)
2011-03-18rustc: Fix list.foldl() to pass its second argument by aliasPatrick Walton-2/+2
2011-03-09Remove redundant imports in lib (rustc doesn't like 'std' as a synonym for ↵Graydon Hoare-2/+0
root within std.rc anyway)
2010-11-18rustboot: Don't use walk to traverse statements in type.ml; fixes redundant ↵Patrick Walton-0/+4
checking, improves diagnostics. Also report untyped slots.
2010-11-05Move the option type to its own modulePatrick Walton-4/+4
2010-11-05Revert "Move the option type to its own module"Patrick Walton-4/+4
2010-11-05Move the option type to its own modulePatrick Walton-4/+4