Open nomeata opened 4 months ago
A separate command would be nice in that we could also use it to make trace classes first-class values, as in https://github.com/leanprover-community/aesop/blob/master/Aesop/Tracing.lean
The branch trace_descr
contains work in progress on this, although I'm balked at the moment by stage0 problems.
Proposal
Currently, the docstring when overing on
always says
hardcoded in
It seems the original design for
trace
option was that they would just indicate a moduletrace.Elab.Foo
, but it seems in practice we have all kinds of trace options with interesting semantics that deserve to be described, so that I see what these options do in the auto-completion or hover tooltip.An optional parameter to
registerTraceClass
might do. Or, more fancy, a command forwhose docstring is then moved to the option.
Impact
Add :+1: to issues you consider important. If others benefit from the changes in this proposal being added, please ask them to add :+1: to it.