about summary refs log tree commit diff
path: root/src/lib/map.rs
AgeCommit message (Collapse)AuthorLines
2011-03-22Revert "Remove usages of case(_) { fail; } since the compiler does this ↵Patrick Walton-0/+1
automatically". When we have exhaustiveness checking, "case(_) { fail; }" will be useful to silence warnings. This reverts commit 92a716d862d92d3cc52a400457d2c3900d0c57a2.
2011-03-22Remove usages of case(_) { fail; } since the compiler does this automaticallyBrian Anderson-1/+0
2011-03-18rustc: Box the tuples returned by hashmap.items() for now since we don't ↵Patrick Walton-3/+3
have alias iterators yet
2011-03-18Add "mutable?" to _vec in the standard library; fix callersPatrick Walton-1/+1
2011-03-09Remove redundant imports in lib (rustc doesn't like 'std' as a synonym for ↵Graydon Hoare-6/+0
root within std.rc anyway)
2010-11-18rustboot: Don't use walk to traverse statements in type.ml; fixes redundant ↵Patrick Walton-0/+2
checking, improves diagnostics. Also report untyped slots.
2010-11-05Move the option type to its own modulePatrick Walton-14/+14
2010-11-02Split out stratum-checking pass, implement more-strict (overly aggressive) ↵Graydon Hoare-10/+10
impure-effect checking.
2010-11-02First pass on splitting stratum and opacity off of effects. WIP.Graydon Hoare-1/+1
2010-10-18Disable use of parametric tail call in map.rs, they don't presently work.Graydon Hoare-1/+3
2010-09-29Patchwork of attempted fixes to effect system and gc system; eventually give ↵Graydon Hoare-15/+15
up and disable it entirely in the runtime. Will need extensive reworking.
2010-09-22Add 'items' iter to hashmap.Graydon Hoare-0/+12
2010-09-22Reformat standard library; no code changes.Graydon Hoare-183/+200
2010-09-21Tighten pattern parsing on 0-ary constructors.Graydon Hoare-2/+2
2010-09-20Bind pattern slots with ?, drop parens from 0-ary tag constructors, ↵Graydon Hoare-15/+15
translate 0-ary constructors as constants. Rustc loses ~300kb.
2010-09-09Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly ↵Graydon Hoare-1/+5
work, possibly a little bumpy. Changes a lot.
2010-08-26Test the hashmap more, exercising hash collision, element removal, and a ↵Roy Frostig-6/+11
forced rehashing that actually causes elements to change buckets. In the process, find a bug in hashmap's remove() and fix it.
2010-08-25Actually switch to using the bigger hashmap once a it finishes growing and ↵Roy Frostig-2/+4
rehashing.
2010-08-24Fix mod-bug in std.map, work around bug in closure typaram capture, enable ↵Graydon Hoare-5/+4
insert-tests in lib-map.rs.
2010-08-20Add _uint module to std, move some code around.Graydon Hoare-1/+1
2010-08-05Mop up workarounds in stdlib no longer required as issue #93 is closed.Graydon Hoare-9/+3
2010-08-03Have hashmap's insert method overwrite on existing-key insertion and return ↵Roy Frostig-4/+8
true iff overwrite did not occur.
2010-08-03More stdlib hashmap work. Add a simple test and XFAIL it due to a ↵Roy Frostig-21/+29
valgrind-spotted UMR.
2010-08-03Pass parametric types by-alias in various stdlib spots.Roy Frostig-2/+2
2010-08-03More stdlib hashmap bits (plus some drive-by extras).Roy Frostig-33/+76
2010-07-27Switch machine-type lexemes to use suffixes. Remove support for foo(bar) as ↵Graydon Hoare-15/+15
a cast notation. Closes #129.
2010-07-20Add a (coarse, first-pass) deque implementation to stdlib.Roy Frostig-2/+1
2010-07-16Add incomplete hashmap implementation to stdlib.Roy Frostig-0/+160