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 actions on kinds #1145

Open
brprice opened this issue Sep 19, 2023 · 0 comments
Open

More actions on kinds #1145

brprice opened this issue Sep 19, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@brprice
Copy link
Contributor

brprice commented Sep 19, 2023

Description

This is a feature request. We should have some more actions on kinds, for parity with terms and types.

Dependencies

None

Spec

We currently (as of #1120) have construction and deletion actions for kinds, and can use SetCursor and move to navigate. This lets us create any kind from any starting point, but is not as ergonomic/fully fleshed as actions for types and terms. In particular we do not have

  • RaiseKind, so changing (* -> * -> *) -> (* -> *) into its LHS * -> * -> * is long-winded
  • enter/exit kind movements, so scripting a "higher-level action" which, for example, creates a forall and sets its kind ∀f:*->*. ? is awkward-to-impossible: the only way to focus on the kind is by ID.

Implementation details

I believe this should be straightforward. We have not done this before as kinds were not exposed much in our frontend.

Not in spec

Discussion

This was initially thought about during development of #1120 (comment). @georgefst pointed out the somewhat related issues #1141 (comment) and #66 (comment).

Future work

@brprice brprice added enhancement New feature or request triage This issue needs triage labels Sep 19, 2023
@dhess dhess removed the triage This issue needs triage label Sep 19, 2023
@dhess dhess added this to the Primer (implementation) 1.0 milestone Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants