Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly work, possibly a little bumpy. Changes a lot.

This commit is contained in:
Graydon Hoare
2010-09-09 15:59:29 -07:00
parent c877f31730
commit a9e2327a18
40 changed files with 1127 additions and 1425 deletions

View File

@@ -1,4 +1,7 @@
type option[T] = tag(none(), some(T));
tag option[T] {
none();
some(T);
}
type operator[T, U] = fn(&T) -> U;