I would really love to see an IDE that auto suggests / autocompletes code based on typed holes like this.
Does such a thing exist?
Does such a thing exist?
For example, for this post's "jonk" example I just had to copy the type into emacs, reformat it a bit into Agda syntax, then press C-c C-a and it automatically figured out the solution that the author worked through manually: λ z z₁ z₂ → z₁ (λ z₃ → z₂ (z z₃))
See the full list of commands at https://agda.readthedocs.io/en/v2.5.2/tools/emacs-mode.html