Right now, we have to do a lot of kludgy sanitizing of Agda's output in our golden tests (see cleanOutput and #12). This is really annoying and somewhat error prone, so it would be nice if we could just ask Agda to produce sanitized output in the first place. This would include:
- Making all paths relative to the nearest
.agda-libfile - Replacing the package name in
__IMPOSSIBLE__reports withMikan-package - Replacing the paths to any
Primmodules withagda-default-include-path
Right now, we have to do a lot of kludgy sanitizing of Agda's output in our golden tests (see `cleanOutput` and #12). This is really annoying and somewhat error prone, so it would be nice if we could just ask Agda to produce sanitized output in the first place. This would include:
- Making all paths relative to the nearest `.agda-lib` file
- Replacing the package name in `__IMPOSSIBLE__` reports with `Mikan-package`
- Replacing the paths to any `Prim` modules with `agda-default-include-path`