learn-ocaml
learn-ocaml copied to clipboard
Report errors/warnings in source code
Errors and warnings raised by the typechecker are highlighted with a yellow or red underline in the editor, and hovering over the line number shows the details of the error. It would be nice to be able to hook into this functionality to create our own warnings, using the location information retrieved from the code AST. Would it be possible to expose the functions used for this to the grader library?