Repository navigation
Pretty-print signatures in hover and #check <ident> - #1943
Conversation
Done, https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/.60.23check.20.3Cident.3E.60 was generally in support |
#check <ident>
|
The only thing I'm concerned about in this PR is the abuse of the delaborator to produce something which is not a term. |
In contrast to other proposals like a special pp option we're not really going through the term elaborator but mostly using it from the outside, with the exception of using |
Resolves #375
I changed
#checkto use the signature pretty printer as well mostly for testing, though I don't think there's any real downside. In fact I would probably go further and just make#check $n:identa semantically separate command that shows the signature ofnwithout elaboration - I can't be the only one that usually starts with#check toStringand then only remembers to add the@on the second try.