A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/commercialhaskell/stack/issues/4564 below:

Internal library component not available for REPL · Issue #4564 · commercialhaskell/stack · GitHub

Cabal 2 support internal libraries and as I understand Stack version 1.9.3 also.

I expect that that stack ide targets gives all components but the internal libraries are not mentioned.
Also stack repl [name of lib] does not work.

Steps to reproduce

Create cabal file packagename.cabal which contains components:
library
library libname

Expected

To work:
stack repl packagename:lib:libname

REPL is started.

Actual

What actually happened.
Error parsing targets: Directory not found: packagename:lib:libname

Also when I start a REPL with a component which depends on the internal library, the internal modules can not be loaded.

Stack version

1.9.3

aryairani, Pitometsu, cdfa, simonmichael, ProofOfKeags and 1 more


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4