Open robrix opened 5 years ago
We should use the elaborator to provide terms to fill typed holes.
Even better, it should take resources into account so that it e.g. elides term-level use of 0-resourced parameters.
I think we could model this by treating typed holes as a resumable exception (or similar effect) and then providing a handler which nondeterministically tries a bunch of things, with pruning/runNonDetOnce behaviour.
runNonDetOnce
We should use the elaborator to provide terms to fill typed holes.
Even better, it should take resources into account so that it e.g. elides term-level use of 0-resourced parameters.