commercialhaskell / commercialhaskell/stack

True multi package support in "stack ghci"

Open
#3,310 3 comments 0 reactions 0 assignees View on GitHub
component: ghci type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

This is just a stub issue to keep track of the goal of having "stack ghci" properly load packages, including switching cwd when loading modules (for TH file loading). I am removing the support for using intero's `:cd-ghc` command with multiple packages, because it doesn't always work, doesn't work on reload, and was generally a regression in behavior for multi-package projects - see https://github.com/commercialhaskell/stack/issues/3309

A proper solution to this requires an implementation in ghci / intero. Some relevant issues:

https://ghc.haskell.org/trac/ghc/ticket/10827
https://github.com/commercialhaskell/intero/issues/41
https://github.com/commercialhaskell/intero/issues/39

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.