diff options
author | Paul Phillips <paulp@improving.org> | 2009-05-12 14:30:04 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-05-12 14:30:04 +0000 |
commit | e326df2c225eefcfd058e19963d3a7fdf366637d (patch) | |
tree | f057e66f66925670a1aea6761e33e174d95365b0 /test | |
parent | 93ce8b0c6cb98c3bb9cb1ab67e17c678ff86ab1a (diff) | |
download | scala-e326df2c225eefcfd058e19963d3a7fdf366637d.tar.gz scala-e326df2c225eefcfd058e19963d3a7fdf366637d.tar.bz2 scala-e326df2c225eefcfd058e19963d3a7fdf366637d.zip |
This patch includes the following:
1) Default Ordering implementations for various built-in types,
supplied by DrMacIver. Ticket #1303. 2) Implicits for scala.Numeric
and scala.Ordering so classes implementing those can use punctuation
and, more importantly,
infix notation. Compare "minus(plus(x, y), z)" to "x + y - z".
3) A generic implementation of Range, but leaving the original
Int-only Range untouched. A LongRange.
4) Numeric and Ordering implementations of BigInt, as required
for the new BigIntRange. Ticket #931.
5) Numeric implementations for built-in types changed to the
trait + implicit-object-extends-trait model so the implementation
can be mixed into other objects - in particular one might easily
want to combine Numeric[T] and Ordering[T] in one object.
6) Assorted tweaks to support all the above.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions