about summary refs log tree commit diff
path: root/src/lib/either.rs
AgeCommit message (Collapse)AuthorLines
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-89/+0
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-3/+4
This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-10Cleanup unused importsHaitao Li-2/+0
2011-10-25Begin documenting std and add doc generation using naturaldocsBrian Anderson-1/+46
Naturaldocs isn't really that great but it seems easier to get something working than with doxygen, for which we would need to convert rust code to something C++ish. We probably want to just write a rustdoc utility at some point.
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-3/+3
Closes #1067
2011-09-24Vectors containing pinned kinds become pinnedBrian Anderson-3/+3
Otherwise they could be copied
2011-09-15Insert omitted semicolons for statementsMarijn Haverbeke-3/+3
2011-09-12Factor imports mindlessly.Graydon Hoare-2/+1
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-5/+5
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-08-20ReformatBrian Anderson-9/+10
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-16Port the stdlib to the decl foo<T> syntax.Erick Tryzelaar-5/+5
2011-08-16Port the stdlib to the typaram foo<T> syntax.Erick Tryzelaar-7/+7
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-3/+3
2011-08-12Change a bunch of places in the stdlib to use blocks.Michael Sullivan-5/+2
2011-08-09Port the stdlib to the ivec type [T] syntax.Erick Tryzelaar-7/+7
2011-07-27Reformat for new syntaxMarijn Haverbeke-30/+17
2011-07-26Remove all uses of tuples from the compiler and stdlibMarijn Haverbeke-2/+3
2011-07-12stdlib: Port std::either over to interior vectorsPatrick Walton-11/+11
2011-06-16Reformat a bunch of recent churn.Graydon Hoare-11/+8
2011-06-15stdlib: Add an either moduleBrian Anderson-0/+64
Like Haskell's, with left and right tags, various conversion functions