Remove all uses of tuples from the compiler and stdlib

This commit is contained in:
Marijn Haverbeke
2011-07-26 14:06:02 +02:00
parent e123366bff
commit aea537779e
45 changed files with 759 additions and 723 deletions

View File

@@ -8,8 +8,9 @@ import codemap;
type syntax_expander =
fn(&ext_ctxt, span, &(@ast::expr)[], option::t[str]) -> @ast::expr;
type macro_def = rec(str ident, syntax_extension ext);
type macro_definer = fn(&ext_ctxt, span, &(@ast::expr)[],
option::t[str]) -> tup(str, syntax_extension);
option::t[str]) -> macro_def;
tag syntax_extension {
normal(syntax_expander);