Convenient way of loading specific module in repl
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
By default "cabal repl" loads only the public exports of a module. Often during development we need to access also the private definitions of a module.
This is possible to do in a cabal project too, but is inconvenient:
cabal repl --repl-no-load --repl-options=MyModule.hs
It also triggers a -Wmissing-home-modules warning.
It would be nice if there was an official syntax to perform this operation, supported by cabal repl out of the box.
Contributor guide
Research direction
Start with the cabal repl command and compare its default module-loading behavior with the --repl-no-load --repl-options=MyModule.hs workaround described here. Determine an official syntax for loading private definitions without triggering -Wmissing-home-modules; done means the supported command works in a Cabal project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100