summaryrefslogtreecommitdiff
path: root/test/files/pos/spec-List.scala
Commit message (Collapse)AuthorAgeFilesLines
* Compilation of spec-List enters an infinite loo...Paul Phillips2011-06-101-869/+0
| | | | | | | Compilation of spec-List enters an infinite loop under -optimise, disabling in the hopes of seeing a new build before I die. I'll put it back. No review.
* Fixed some tests, renamed from Any to Gen.Aleksandar Pokopec2011-04-131-1/+1
| | | | | No review.
* Refactoring the collections api to support diff...Aleksandar Pokopec2011-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring the collections api to support differentiation between referring to a sequential collection and a parallel collection, and to support referring to both types of collections. New set of traits Gen* are now superclasses of both their * and Par* subclasses. For example, GenIterable is a superclass of both Iterable and ParIterable. Iterable and ParIterable are not in a subclassing relation. The new class hierarchy is illustrated below (simplified, not all relations and classes are shown): TraversableOnce --> GenTraversableOnce ^ ^ | | Traversable --> GenTraversable ^ ^ | | Iterable --> GenIterable <-- ParIterable ^ ^ ^ | | | Seq --> GenSeq <-- ParSeq (the *Like, *View and *ViewLike traits have a similar hierarchy) General views extract common view functionality from parallel and sequential collections. This design also allows for more flexible extensions to the collections framework. It also allows slowly factoring out common functionality up into Gen* traits. From now on, it is possible to write this: import collection._ val p = parallel.ParSeq(1, 2, 3) val g: GenSeq[Int] = p // meaning a General Sequence val s = g.seq // type of s is Seq[Int] for (elem <- g) { // do something without guarantees on sequentiality of foreach // this foreach may be executed in parallel } for (elem <- s) { // do something with a guarantee that foreach is executed in order, sequentially } for (elem <- p) { // do something concurrently, in parallel } This also means that some signatures had to be changed. For example, method `flatMap` now takes `A => GenTraversableOnce[B]`, and `zip` takes a `GenIterable[B]`. Also, there are mutable & immutable Gen* trait variants. They have generic companion functionality.
* Updated copyright notices to 2011Antonio Cunei2011-01-201-1/+1
|
* As a brief diversion from real work, implemente...Paul Phillips2010-04-061-1/+1
| | | | | | | | | As a brief diversion from real work, implemented Damerau–Levenshtein and ran it on trunk to elicit obvious misspellings. Unfortunately they're mostly in places like compiler comments which real people never see, but I fixed them anyway. All those English Lit majors who peruse our sources are sure to be pleased. No review.
* Fix for the partest task to fail the build when...Paul Phillips2010-04-061-1/+1
| | | | | | | | Fix for the partest task to fail the build when a test fails, and fixes for 2/3 of the quietly failing tests. I'm not quite sure what to do about the view ones, it doesn't look like a simple rename is going to cut it, so: review by odersky.
* TraversableOnce. Review by odersky.Paul Phillips2010-03-271-9/+3
|
* Fixed specialized pattern matches.Iulian Dragos2010-02-281-1/+1
| | | | | specialized implementations.
* Updated copyright notices to 2010Antonio Cunei2009-12-071-1/+1
|
* separated Vector impl from IndexedSeqTiark Rompf2009-10-301-2/+2
|
* fixed breakage caused by r19219 -- sorry!Adriaan Moors2009-10-221-1/+1
| | | | | (thanks for alerting me, Toni)
* built new starr and fixed test casesTiark Rompf2009-10-211-2/+2
|
* fixed failing testcases due to previous commit ...Adriaan Moors2009-10-211-3/+6
| | | | | | fixed failing testcases due to previous commit (renaming of BuilderFactory)
* Sequence->SeqMartin Odersky2009-10-021-6/+6
|
* Collections refactoring.Martin Odersky2009-09-251-12/+22
|
* [no content change] Fixed all SVN properties: m...Gilles Dubochet2009-09-241-2/+0
| | | | | | | | [no content change] Fixed all SVN properties: mimes, EOL, executable. Id expansion is consistently enabled for Scala/Java/C# sources in 'src/' and consistently disabled and removed from everywhere else: there should not be any dead Id tags anymore.
* Fixed spec-List test.Philipp Haller2009-07-281-2/+2
|
* Specialization landed in trunk.Iulian Dragos2009-06-181-0/+864