cabal icon indicating copy to clipboard operation
cabal copied to clipboard

repl -b option is missing tests

Open mpickering opened this issue 2 months ago • 1 comments

There are quite a few nuances to the repl -b option, adding some tests for the feature would be a good first contribution.

1: Does it work in a project context? 2. What happens in a script context? 3. Does it work with multi-repl (I imagine the answer is no) 4. Does -b bring the whole transitive closure of the dependency into scope, or just the specified package? 5. Does the --no-transitive-deps option work?

mpickering avatar Oct 03 '25 15:10 mpickering

From experience (testing xmonad stuff at the repl), the answer to (4) is "no".

geekosaur avatar Oct 03 '25 15:10 geekosaur