| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
The warning is invalid but Scalac can't tell.
|
|\
| |
| | |
Add arrays to collection strawman
|
| | |
|
| |
| |
| |
| |
| | |
Followinf @szeiger's suggestion, equip IndexView with
optimized operations for map/drop/take.
|
| |
| |
| |
| | |
This is achieved by putting it into a new trait, LinearSeqLike.
|
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| | |
Makes it clearer what it is. Also, fixed check file.
|
| |
| |
| |
| |
| | |
By making LinearSeq an IterableLike, we can use tail-recursion
on drop.
|
| |
| |
| |
| |
| | |
Demonstrates how to integrate lazy non-view collections
in the framework.
|
| |
| |
| |
| |
| | |
This PR investigates what it takes to extend CollectionStrawMan5 to
arrays.
|
|/ |
|
|
|
|
| |
... relative to CollectionStrawman1.
|
|
|
|
|
| |
Bring strawman-4 and strawman-5 to feature-parity.
Test also strawman-4.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Centered around views instead of iterators.
|
| |
|
| |
|
|
|