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

Adds support for polymorphic functions #9

Draft
wants to merge 29 commits into
base: master
Choose a base branch
from
Draft

Conversation

alcides
Copy link
Owner

@alcides alcides commented Jul 13, 2023

The goal is to support generic polymorphism.

  • Implement an HM elaboration
  • Reimplemented the type checker to follow the Refinement Types tutorial
  • Infer more-specific (+) applications.

@alcides alcides self-assigned this Sep 21, 2023
alcides and others added 20 commits November 19, 2024 15:39
Removed shortcut if from evaluator

Fixed if
Progress on polymorphism

Added recursion scheme
Removed old unification

HM type inference working

Moved wrapping

More polymorphism work

Working on debugging

Tests failing

Brought forall backs for inhabitted

Adapted tests to handle elaboration

Fixed prim_op with refined
Working on passing tests

work in progress

Progress in identifying bug

test_max passing
logger added

logger added

git ignore updated
main clean up

infer_test fixed

main clean up

logger updated

.gitignore updated

logger updated
@alcides alcides marked this pull request as draft December 2, 2024 10:47
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