Open mpickering opened 1 year ago
For context, the requested feature depends on https://github.com/haskell/cabal/pull/8726
Proposed hie.yaml
specification, we use the multi-repl iff the cabal version supports the multi repl option.
cradle:
cabal:
components: ["compA", "compB"]
Then all of the named components should be loaded in a multi-repl session. Note, cabal meta targets are also supported, e.g. "all"
. In other words, all valid cabal component targets.
When the version of
cabal
supports it,hie-bios
should pass the following flags tocabal repl
--enable-multi-repl
to enable the multi-repl.--keep-temp-files
to keep the response files after the "repl" has finished.