Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Add a MapView type providing lazy Map operations #160

Closed
julienrf opened this issue Jul 17, 2017 · 2 comments · Fixed by #436
Closed

Add a MapView type providing lazy Map operations #160

julienrf opened this issue Jul 17, 2017 · 2 comments · Fixed by #436
Assignees
Milestone

Comments

@julienrf
Copy link
Contributor

Similar to IndexedView[A], we might want to add a MapView[K, V] collection type providing map-like transformation operations.

We have to figure out how the View hierarchy should coexist with the Iterable hierarchy.

@julienrf julienrf modified the milestone: 0.5.0 Aug 28, 2017
@julienrf julienrf added the ready label Sep 1, 2017
@julienrf julienrf modified the milestones: 0.5.0, 0.6.0 Sep 28, 2017
@julienrf julienrf modified the milestones: 0.6.0, 0.7.0 Nov 1, 2017
@julienrf julienrf modified the milestones: 0.7.0, 0.8.0 Nov 20, 2017
@julienrf julienrf modified the milestones: 0.8.0, 0.9.0 Jan 3, 2018
@julienrf julienrf modified the milestones: 0.9.0, 0.10.0 Jan 25, 2018
@lrytz
Copy link
Member

lrytz commented Jan 26, 2018

There's also SeqView. In 2.12, List(1,2).view.reverse works (https://github.com/scala/scala/blob/2.13.x/test/files/run/ReverseSeqView.scala)

@julienrf
Copy link
Contributor Author

julienrf commented Feb 8, 2018

@lrytz For reverse I’m wondering whether we should support it at all in SeqView. It is possible to delay the process of reversing the underlying collection, but that process will reverse the whole collection at once (it can not be fused with other intermediate transformations).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants