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

Type Hole De-Elaboration? #58

Open
solomon-b opened this issue Sep 1, 2023 · 0 comments
Open

Type Hole De-Elaboration? #58

solomon-b opened this issue Sep 1, 2023 · 0 comments
Labels

Comments

@solomon-b
Copy link
Collaborator

solomon-b commented Sep 1, 2023

Type holes can get really gnarly, such as:

+ P : Poly
+ d : Σ (_ : base (fst C)), fib (fst C) _ ⇒ Σ (<2> : Σ (pbase : base (fst C)), Π (<196> : fib (fst C) pbase), base (fst C)), Σ (pfib : fib (fst C) (fst <2>)), fib (fst C) (snd <2> pfib)

Sometimes we know the unelaborated form of the type of some term and we annotate it in the code:

    let P : Poly := fst C in
    let d : P ⇒ tensor-◁ P P := fst (snd (snd C)) in

It would be really nice if the type hole reflected that un-elaborated (and thus easier to read) type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant