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

Algorithms from Core.hs #3

Open
2 of 3 tasks
MonoidMusician opened this issue Aug 4, 2018 · 2 comments
Open
2 of 3 tasks

Algorithms from Core.hs #3

MonoidMusician opened this issue Aug 4, 2018 · 2 comments

Comments

@MonoidMusician
Copy link
Owner

MonoidMusician commented Aug 4, 2018

I have started converting most of the algorithms from Core.hs, but they need to be finished and verified.

  • shift and subst are important to get tested to ensure correctness, but I think I copied and converted them over fully.
  • normalizeWith needs to be completed in full, and tested, as it is one of the most important parts of Dhall. isNormalizedWith can be just derived from it for now, but should be updated with a real algorithm. Maybe they can be merged, returning Tuple Boolean (Lazy (Expr s a))
  • Related: I don’t understand boundedType and whether it applies to a strict implementation and if I actually need laziness somewhere. Actually implement boundedTypeG.
@MonoidMusician
Copy link
Owner Author

MonoidMusician commented Oct 26, 2018

@MonoidMusician
Copy link
Owner Author

MonoidMusician commented Nov 17, 2018

  • Need to move normalization into its own file.
  • Break apart normalization into various passes.
  • Break apart typechecking into its cases, give names to common elements.
    • Then work on generalizing check and ensure to adapt to a unification algorithm.

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

No branches or pull requests

1 participant