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