haskell / haskell/cabal

Should cabal repl read ~/.ghci?

Open
#1,471 1 comment 0 reactions 0 assignees Claimed by @dcoutts View on GitHub
cabal-install: cmd/repl Cabal: cmd/repl old-milestone: ⊥ type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

I import a lot of stuff in my `~/.ghci` and also do things like `:set -interactive-print` using packages that aren't universally included in `build-depends` with the result that `cabal repl` spews a lot of errors and warnings on startup. I also `:set -X` a lot of extensions which could potentially cause problems of syntax and semantics changing, potentially in incompatible ways with some code bases.

My personal preference would be for `cabal repl` to read `./.ghci` and possibly something like `~/.cabal/repl` but _not_ `~/.ghci`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.