| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the Transform-derived traits within view resisted evaluating the entire
sequence on a toString call, but the original view returned from a call
to .view did not. This has a particularly bad result in the case of
Stream, as for instance:
Stream from 1 view
would enter infiniteloopiland in the repl despite the fact that it
should be doubly resistant to eager evaluation.
Review by prokopec.
|
|
|
|
|
|
| |
Gave StringBuilder a StringLike parent as endorsed by martin in
http://www.scala-lang.org/node/6893 . Review by odersky.
|
|
|
|
|
|
|
| |
Added implicits to create Orderings from java's Comparable and
Comparator interfaces. Also some cleanup in Sorting. Review by
community.
|
|
|
|
|
|
|
|
| |
Stream gets a specialized, extra-lazy Iterator so it can iterate as
lazily as it traverses. Patch submitted by "Eastsun": probably not
his real name, but that's what we call him. Closes #3273, review by
prokopec.
|
| |
|
|
|
|
|
|
|
|
|
| |
Interpreted absence of any objections in mailing list thread
http://www.scala-lang.org/node/7398 as implicit encouragement to
proceed. Adds complementary implicits to Predef such that the eight
primitive types are both boxed and unboxed as the occasion demands.
Review by odersky.
|
| |
|
|
|
|
|
|
|
| |
Proposed implementation of 'unlift' on Function1, the inverse function
of PartialFunction#lift. Review by rytz and other interested parties.
References #3825, but not closing until this is further considered.
|
| |
|
| |
|
|
|
|
|
|
| |
Fixes infinite loop when appending a ListBuffer to itself. Review by
extempore.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Brought the files in scala.collection.interfaces up to date,
for whatever purpose they may someday serve. Also deprecated
Seq.findIndexOf, which is identical to indexWhere and must have been
overlooked when deprecations were being handed out. No review.
|
|
|
|
|
|
|
| |
Makes utility methods in the ArrayStack companion object private.
No review.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Added a few overrides to prevent default implementation that uses
'foreach'.
Fixes #3747. Closes #3747. No review.
|
|
|
|
|
| |
removed author attribution, since no code from Stepan remains here.
|
|
|
|
|
| |
added doc comment which makes things clearer when seen from Map or Set.
|
| |
|
| |
|
|
|
|
|
|
| |
documentation for scala.collection package, contribution by Dave
Copeland. close #3793, no review.
|
|
|
|
|
|
| |
documentation for scala.xml.pull, contribution by Dave Copeland. close
#3786, no review.
|
|
|
|
|
|
| |
Fix and test case for broken linked lists, contributed by Lucien
Pereira. Closes #3361, no review.
|
| |
|
|
|
|
|
| |
Renaming and small tweak in testing.Benchmark for the output format.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Added an overridable setUp method that is called prior to each
benchmarking (but whose execution time is not measured).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
@implicitNotFound(msg="Custom error message that may refer to type parameters ${T} and ${U}")
trait Constraint[T, U]
whenever an implicit argument of type Constraint[A, B] cannot be found,
the custom error message will be used, where the type arguments are
interpolated in the obvious way
note: if the msg in the annotation references non-existing type params,
a warning is emitted
the patch also cleans up annotation argument retrieval (moved it to
AnnotationInfo from Symbol)
review by odersky
|
|
|
|
|
|
|
| |
Discovered ListMap.++ returns a Map instead of a ListMap. Does
preserving binary compatibility mean we can't fix this sort of thing?
Fixing for now, inquiring via: review by odersky.
|
|
|
|
|
|
|
| |
the added flexibility'll cost ya one ClassManifest
review by phaller
|
|
|
|
|
|
| |
use arraycopy not Array.copy in Arraybuffer.sizeHint. close #3766,
#3767. no review.
|
|
|
|
|
|
|
|
| |
Revert ArrayBuffer's sizeHint as I had a typo anyway and it needs more
thinking. see #3766, see #3767.
This reverts commit bf87118d701df2313a9f680e327ce066765c10d3.
|
|
|
|
|
|
| |
use arraycopy instead of Array.copy in ArrayBuffer's sizeHint. close
#3766, review by extempore.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
material changes are a) deferring to the target object's toString
method on custom collections, so now only built-in collections receive
special treatment, and b) guarding against runaways and inappropriate
exceptions, falling back on toString. Closes #3710, Review by prokopec.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
added @deprecatedName annotation, allowing to deprecate parameter names.
review by prokopec.
|