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

More prep for decls-in-binders #1317

Merged
merged 4 commits into from
Jun 27, 2023
Merged

More prep for decls-in-binders #1317

merged 4 commits into from
Jun 27, 2023

Conversation

dougalm
Copy link
Collaborator

@dougalm dougalm commented Jun 27, 2023

No description provided.

Blocks are now just a bunch of decls followed by an atom. The type and effects
information is carried by the context -- e.g. a pi type or the other arguments
to a built-in HOF. The reason is that we're about to add decls to binders and
this way we can treat binder-decls block-decls uniformly.
Just to make the decls-in-binders update easier.
Fancy B-kinded things are a pain and they're about to get worse when we add
decls to binders. An earlier attempt at adding decls without doing this forced
me to create lots of complicated type classes to handle all the `WithExpl` and
`RolePiBinder` variants.
@dougalm dougalm merged commit cfab914 into main Jun 27, 2023
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