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

Improve arity inference for repl expressions #1762

Conversation

janmasrovira
Copy link
Collaborator

@janmasrovira janmasrovira commented Jan 24, 2023

Now the arity checker does not add an unnecessary hole and so the repl displays the type properly:
image

paulcadman
paulcadman previously approved these changes Jan 24, 2023
Copy link
Collaborator

@paulcadman paulcadman left a comment

Choose a reason for hiding this comment

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

wonderful - thank you!

paulcadman
paulcadman previously approved these changes Jan 24, 2023
@janmasrovira janmasrovira force-pushed the 1721-repl-always-tries-to-infer-all-holes-instead-of-displaying-polymorphic-types branch from 0074c89 to 6468be8 Compare January 24, 2023 15:15
@janmasrovira janmasrovira changed the title improve arity inference for repl expressions Improve arity inference for repl expressions Jan 24, 2023
@paulcadman paulcadman merged commit c1020f9 into main Jan 24, 2023
@paulcadman paulcadman deleted the 1721-repl-always-tries-to-infer-all-holes-instead-of-displaying-polymorphic-types branch January 24, 2023 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

REPL always tries to infer all holes instead of displaying polymorphic types
2 participants