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

Refactor Node datatype #1501

Merged
merged 5 commits into from Sep 2, 2022
Merged

Refactor Node datatype #1501

merged 5 commits into from Sep 2, 2022

Conversation

lukaszcz
Copy link
Collaborator

Description

Refactoring of the Node datatype. Introduces a separate datatype for each constructor containing all constructor arguments. Node helper constructor functions added in Core/Extra/Base.hs: mkVar, mkIdent, mkApp, ...

@lukaszcz lukaszcz self-assigned this Aug 31, 2022
@lukaszcz lukaszcz added this to the 0.2.5 milestone Aug 31, 2022
src/Juvix/Compiler/Core/Language.hs Outdated Show resolved Hide resolved
src/Juvix/Compiler/Core/Language.hs Outdated Show resolved Hide resolved
src/Juvix/Compiler/Core/Language.hs Outdated Show resolved Hide resolved
src/Juvix/Compiler/Core/Language.hs Outdated Show resolved Hide resolved
janmasrovira
janmasrovira previously approved these changes Sep 1, 2022
Copy link
Collaborator

@janmasrovira janmasrovira left a comment

Choose a reason for hiding this comment

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

💯

@lukaszcz lukaszcz merged commit be4915c into main Sep 2, 2022
@lukaszcz lukaszcz deleted the core-refactor branch September 2, 2022 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Related to JuvixCore refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants