Hello all, I have a couple of questions on the module system using stack:
- Is there any resource that the community recommends for locally-dependent packages using stack?
My goal is to learn how to develop packages which can rely on each other in either a flat or hierarchical way without needing to publish that code as a bundle to a repo like hackage, similar to how one can work locally with cargo
workspaces in Rust or yarn
workspaces in TypeScript.
- If I have the stack/ghcup integration setup, does this mean that packages compiled locally for that particular resolver will be “available” in some env thag matches the ghc in ghcup, similar to how they would be in a
cargo
env that matches some rustc compiler?
Thanks in advance!
D