Skip to content

Type Hole De-Elaboration? #58

@solomon-b

Description

@solomon-b

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions