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

Fix objects introduced by forall without typeclass constraints #31

Open
wants to merge 3 commits into
base: sean/monomorph-cleanup
Choose a base branch
from

Conversation

t4ccer
Copy link
Member

@t4ccer t4ccer commented Apr 25, 2024

Didn't touch monomorhpisation so it'll probably blow up during code gen but it's not implemented for arrays and objects anyway

@@ -312,6 +325,10 @@ brokenEven =
_ ->
(brokenEven: Int -> Int) ((minus: Int -> Int -> Int) (n: Int) (2: Int))

arrForall :: forall (a :: Type). Array a -> a
Copy link
Member Author

Choose a reason for hiding this comment

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

That's fine, it's a bug in pretty printer that doesn't add brackets

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