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

AaJson #623

Merged
merged 7 commits into from
Oct 4, 2024
Merged

AaJson #623

merged 7 commits into from
Oct 4, 2024

Conversation

kharus
Copy link
Collaborator

@kharus kharus commented Oct 2, 2024

Add output similar to Purescript in json format.
AaJson.hs copied from Purescript.hs

@kharus kharus changed the title First step AaJson Oct 2, 2024
@kharus kharus marked this pull request as ready for review October 4, 2024 06:13
@kharus kharus requested a review from fendor October 4, 2024 06:14
Copy link
Contributor

@fendor fendor left a comment

Choose a reason for hiding this comment

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

Thanks for the cleanup!

Could we have -Wall in this file? If we add {-# OPTIONS_GHC -Wall #-} just underneath the last LANGUAGE pragma ( {-# LANGUAGE ViewPatterns #-}), then it seems like a lot of the code is actually unused. Removing the dead code reduces the transpiler by around 100 loc.

@kharus
Copy link
Collaborator Author

kharus commented Oct 4, 2024

We probably need to add it everywhere :-)
I removed all redundant code

Copy link
Contributor

@fendor fendor left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@fendor fendor merged commit 7e01c08 into main Oct 4, 2024
3 checks passed
@fendor fendor deleted the aajson branch October 4, 2024 12:19
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.

2 participants