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

Commits on Jun 24, 2023

  1. Remove type/effect annotations from Block.

    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.
    dougalm committed Jun 24, 2023
    Configuration menu
    Copy the full SHA
    cd8b208 View commit details
    Browse the repository at this point in the history
  2. Remove some user-defined effect stuff.

    Just to make the decls-in-binders update easier.
    dougalm committed Jun 24, 2023
    Configuration menu
    Copy the full SHA
    c7fef43 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. Unbundle binders from their role/expl attributes.

    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 committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    75eacbf View commit details
    Browse the repository at this point in the history
  2. Avoid some uses of :> and @>.

    dougalm committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    b274115 View commit details
    Browse the repository at this point in the history