summary refs log tree commit diff
path: root/src/libstd/rope.rs
AgeCommit message (Collapse)AuthorLines
2012-01-19lib: ";" to "," in enumsPatrick Walton-4/+4
2012-01-19stdlib: "tag" -> "enum"Patrick Walton-2/+2
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-34/+34
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/+163
2012-01-17Allow omission of the '.' after nullary tag patternsTim Chevalier-7/+7
This commit allows patterns like: alt x { some(_) { ... } none { } } without the '.' after none. The parser suspends judgment about whether a bare ident is a tag or a new bound variable; instead, the resolver disambiguates. This means that any code after resolution that pattern-matches on patterns needs to call pat_util::normalize_pat, which consults an environment to do this disambiguation. In addition, local variables are no longer allowed to shadow tag names, so this required changing some code (e.g. renaming variables named "mut", and renaming ast::sub to subtract). The parser currently accepts patterns with and without the '.'. Once the compiler and libraries are changed, it will no longer accept the '.'.
2012-01-05Moved generic float::min, max to core::math and cleaned up some importsStefan Plantikow-5/+1
2012-01-03Allow tail expressions even in no_value blocks. Type checkerNiko Matsakis-1/+1
will guarantee they have unit type.
2011-12-19preparing for removing math from stdStefan Plantikow-1/+1
2011-12-16std: declared fns as pure where sensibleStefan Plantikow-1/+1
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-1/+2
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-0/+1337