Use -pgmF to run alex/happy
Currently, using GHC-in-GHCi is problematic when it comes to editing Lexer.x
and Parser.y
. Edits to those files are not detected by GHCi.
This can be solved nicely by using -pgmF
to run happy
and alex
instead of using the build system. This way GHCi will rerun them to reload those modules.