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

Add the syntax for quantifiers to value bindings #463

Conversation

gfngfn
Copy link
Owner

@gfngfn gfngfn commented Sep 15, 2024

  • Add the syntax of explicit type variable binders to let-expressions
  • Add the syntax of return type annotations
  • Fix how to track MustBeBoundID and MustBeBoundRowID in type environments
-val ~rec lift lf xs =
+val ~rec lift 'a (lf : 'a -> code 'a) (xs : list 'a) : code (list 'a) =
   match xs with
   | []      -> &[]
   | x :: xs -> &(~(lf x) :: ~(lift lf xs))
   end

@gfngfn gfngfn changed the title [WIP] Add the syntax for quantifiers to value bindings Add the syntax for quantifiers to value bindings Sep 15, 2024
@gfngfn gfngfn marked this pull request as ready for review September 15, 2024 23:35
@gfngfn gfngfn merged commit e2b8f78 into dev-0-1-0-separate-saphe-from-satysfi Sep 16, 2024
8 checks passed
@gfngfn gfngfn deleted the dev-0-1-0-add-quantifier-to-value-binding branch September 16, 2024 04:16
@gfngfn gfngfn mentioned this pull request Sep 16, 2024
34 tasks
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