Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RandomAccessList #2463

Closed
melrief opened this issue Sep 4, 2018 · 5 comments
Closed

Add RandomAccessList #2463

melrief opened this issue Sep 4, 2018 · 5 comments

Comments

@melrief
Copy link
Contributor

melrief commented Sep 4, 2018

Add purely functional random-access list as described in this paper by Okasaki. The random-access list support all the list operations in time O(1) and lookup/update in O(log n).

I have an implementation and I think I can add it to Cats.

@kailuowang
Copy link
Contributor

That sounds a great idea. For some context, we are thinking about creating a new cats-collection project. The main benefit of having this in that new project is that it would allow its API to evolve over a couple of releases. In cats-core things are more rigid due to binary compatibility requirements.

@LukaJCB
Copy link
Member

LukaJCB commented Sep 4, 2018

Related: #2058

@kailuowang
Copy link
Contributor

I just assigned #2058 to myself. Hopefully, we'll get a cats-collection going soon.

@kailuowang
Copy link
Contributor

Update: The collection library dogs becomes cats-collections thanks to Stew O'Connor's donation.
We need to finish typelevel/cats-collections#105 (any volunteers?) then we shall be ready to add this there.

@kailuowang
Copy link
Contributor

Cats-collections completed migration and is officially an external cats module now. @melrief if you are still interested in writing a Scala RandomAccessList, it is ready for you.

@LukaJCB LukaJCB closed this as completed Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants