about summary refs log tree commit diff
path: root/src/lib/util.rs
AgeCommit message (Collapse)AuthorLines
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-57/+0
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-10-27Add more std docsBrian Anderson-1/+27
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-1/+1
Closes #1067
2011-10-05stdlib: Add a void typePatrick Walton-0/+5
2011-10-04Revert "stdlib: Migrate rust_file_is_dir() over to the C stack, and add a ↵Patrick Walton-7/+0
void type" due to build bustage on Windows This reverts commit 9698ef89a0c5513b9670f6ec56ea06de5728eb5a.
2011-10-04stdlib: Migrate rust_file_is_dir() over to the C stack, and add a void typePatrick Walton-0/+7
2011-09-15Add unreachable() fn, also nitpickingTim Chevalier-7/+8
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-3/+3
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-08-23Add kind-checking for assign-op, copy, ret, be, fail exprs. Fix caught ↵Graydon Hoare-1/+1
kinding-violations in rustc and libstd.
2011-08-16Port the stdlib to the decl foo<T> syntax.Erick Tryzelaar-1/+1
2011-07-27Reformat for new syntaxMarijn Haverbeke-4/+4
2011-07-26Remove all uses of tuples from the compiler and stdlibMarijn Haverbeke-4/+0
2011-06-16Reformat a bunch of recent churn.Graydon Hoare-1/+2
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-14/+10
2011-05-17Finally rename std::_xxx to std::xxxMarijn Haverbeke-1/+1
Except for _task, which is still a keyword.
2011-05-12Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke-0/+33
This should be a snapshot transition.
2011-05-06Rename std modules to be camelcasedMarijn Haverbeke-33/+0
(Have fun mergining your stuff with this.)
2011-04-06Continued sketching out code for checking states against preconditions.Tim Chevalier-0/+12
It's still sketchy. I added a typestate annotation field to statements tagged stmt_decl or stmt_expr, because a stmt_decl statement has a typestate that's different from that of its child node. This necessitated trivial changes to a bunch of other files all over to the compiler. I also added a few small standard library functions, some of which I didn't actually end up using but which I thought might be useful anyway.
2010-11-05Move the option type to its own modulePatrick Walton-18/+0
2010-11-05Revert "Move the option type to its own module"Patrick Walton-0/+18
2010-11-05Move the option type to its own modulePatrick Walton-18/+0
2010-09-22Reformat standard library; no code changes.Graydon Hoare-12/+21
2010-09-20Bind pattern slots with ?, drop parens from 0-ary tag constructors, ↵Graydon Hoare-4/+4
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/+4
work, possibly a little bumpy. Changes a lot.
2010-08-03Pass parametric types by-alias in various stdlib spots.Roy Frostig-1/+1
2010-08-03More stdlib hashmap bits (plus some drive-by extras).Roy Frostig-1/+8
2010-07-15Implement the "simple typechecker", which avoids HM inferencePatrick Walton-1/+1
2010-07-05Rename some stuff in lib/util.rs.Graydon Hoare-2/+2
2010-07-02Gut the box[m][o] family from util.Roy Frostig-26/+0
2010-06-28The few and proud isolated bits from stdlib-work so far that don't break ↵Roy Frostig-0/+46
everything. Note util.rs hasn't yet been declared mod in the std crate. Don't do that yet, as it breaks make check.