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

chore(stdlib)!: Group mutable/immutable data structures #1652

Merged
merged 4 commits into from
Mar 15, 2023

Conversation

alex-snezhko
Copy link
Member

Groups immutable and mutable versions of the same abstract data types into the same module, with the immutable versions accessible via the Immutable submodule.

Draft because this is still blocked on #1621 and #1644

Copy link
Member

@phated phated left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did a very quick skim but I think we need more updates for @since and @history attributes. I think most of the other changes are just copy-paste to move stuff around, right?

stdlib/priorityqueue.gr Show resolved Hide resolved
stdlib/priorityqueue.gr Outdated Show resolved Hide resolved
stdlib/priorityqueue.gr Show resolved Hide resolved
stdlib/array.gr Outdated Show resolved Hide resolved
stdlib/array.gr Show resolved Hide resolved
stdlib/array.gr Show resolved Hide resolved
Copy link
Member

@phated phated left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few changes that I'm going to accept then regen the docs and do any formatting so we can land this.

stdlib/array.gr Outdated Show resolved Hide resolved
stdlib/map.gr Outdated Show resolved Hide resolved
stdlib/map.gr Outdated Show resolved Hide resolved
stdlib/map.gr Show resolved Hide resolved
stdlib/map.gr Show resolved Hide resolved
stdlib/priorityqueue.gr Outdated Show resolved Hide resolved
stdlib/set.gr Outdated Show resolved Hide resolved
Copy link
Member

@phated phated left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@phated phated added this pull request to the merge queue Mar 15, 2023
Merged via the queue into grain-lang:main with commit f93afef Mar 15, 2023
av8ta pushed a commit to av8ta/grain that referenced this pull request Apr 11, 2023
)

* chore(stdlib)!: Group mutable/immutable data structures

* add submodule tests into submodule within test files

* Apply suggestions from code review

* Regen docs

---------

Co-authored-by: Blaine Bublitz <blaine.bublitz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants