aboutsummaryrefslogtreecommitdiff
path: root/src/strawman
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1414 from dotty-staging/add-array-strawmanodersky2016-08-141-0/+1045
|\ | | | | Add arrays to collection strawman
| * Fix problem with IndexedView.iterator.lengthMartin Odersky2016-07-311-3/+3
| |
| * More systematic treatement of IndexedViewMartin Odersky2016-07-301-26/+61
| | | | | | | | | | Followinf @szeiger's suggestion, equip IndexView with optimized operations for map/drop/take.
| * Drop on LinearSeq needs to return collection of same type as it was called on.Martin Odersky2016-07-291-8/+38
| | | | | | | | This is achieved by putting it into a new trait, LinearSeqLike.
| * Tweaks to strawmanMartin Odersky2016-07-281-81/+101
| | | | | | | | | | | | | | - Add proper :: to lists - Move some methods to IterableOps in order to keep Iterable clean - Rename knownLength to knownSize - Add some implentations for performance and completeness
| * Fix problem related to cbn parameters in supercallsMartin Odersky2016-07-271-5/+5
| | | | | | | | | | | | | | | | | | | | | | The closures generated by elimByName did not get the InSuperCall flag set. This caused problems in lambda lift which led to a verify error for the new version CollectionStrawMan6. That version replaces explicit function parameters in class LazyList by by-name parameters. Also: Clarify logic for liftLocals in LambdaLift (liftLocals caused the immediate problem but was in the end not to blame).
| * Rename fromLikeIterable -> fromIterableWithSameElemTypeMartin Odersky2016-07-271-11/+11
| | | | | | | | Makes it clearer what it is. Also, fixed check file.
| * Improve dropMartin Odersky2016-07-271-11/+4
| | | | | | | | | | By making LinearSeq an IterableLike, we can use tail-recursion on drop.
| * Further extension with LazyListMartin Odersky2016-07-261-104/+487
| | | | | | | | | | Demonstrates how to integrate lazy non-view collections in the framework.
| * Add arrays to collection strawmanMartin Odersky2016-07-251-0/+584
| | | | | | | | | | This PR investigates what it takes to extend CollectionStrawMan5 to arrays.
* | Fix colltest4: ListBuffer[A]#fromIterable had an incorrect castFelix Mulder2016-07-271-1/+1
|/
* Explain specific changes in later strawman proposalsMartin Odersky2016-05-122-0/+11
| | | | ... relative to CollectionStrawman1.
* Updates of strawmanMartin Odersky2016-04-172-67/+130
| | | | | Bring strawman-4 and strawman-5 to feature-parity. Test also strawman-4.
* Strawman polishingMartin Odersky2016-04-161-9/+3
|
* New testsMartin Odersky2016-04-152-1/+510
| | | | | | | New CollectionStrawMan5, executed as runttest in two different ways: - built with scalac, test compiled by dotty in tests/run. - built with dotty, test compiled by dotty using separate compilation.
* New collection strawmanMartin Odersky2016-03-091-0/+486
| | | | Centered around views instead of iterators.
* Rename collectAs -> toMartin Odersky2015-10-061-2/+2
|
* Tweaks to conform with API set out in #818.Martin Odersky2015-10-061-7/+4
|
* Bugfixes and move CollectionStrawMan1 into the correct directory.Martin Odersky2015-10-061-0/+408