On Fri, Oct 28, 2011 at 3:25 PM, David Rajchenbach-Teller <[email protected]> wrote: > If you want something shorter than "variant", here are a few, well, > variants: > - "sum" > - "cases" > - "choice" > - "tags" (it's a plural) > - "tagged" > - "enum" (Java-style, not C++ style) > - "family" > - "alt" > - "either" >
How about "union"? C/C++ programmers will instantly get the gist of it, while probably suspecting that it'll be a safer version of the union construct they're familiar with. -- Sebastian Sylvan _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
