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

Redefine NameMapE as the primitive type #1334

Merged
merged 3 commits into from
Aug 1, 2023
Merged

Redefine NameMapE as the primitive type #1334

merged 3 commits into from
Aug 1, 2023

Conversation

axch
Copy link
Collaborator

@axch axch commented Jul 31, 2023

And define NameMap as a type alias for a NameMapE of a LiftE type. This follows a rationale (included) for why NameMapE (with the type it has) is the data structure you want for bottom-up traversals.

The reason to make NameMap an alias is to avoid duplicating the API surface between the two maps, so that it's not such a pain to eventually cover the entire API of Data.Map in the NameMapE API.

@axch axch requested a review from dougalm July 31, 2023 21:59
@axch axch closed this Aug 1, 2023
@axch axch reopened this Aug 1, 2023
@axch axch merged commit 3cbde4c into main Aug 1, 2023
8 of 10 checks passed
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

Successfully merging this pull request may close these issues.

1 participant