help needed configuring GHC API client
Norman Ramsey
nr at cs.tufts.edu
Fri Sep 24 14:29:28 UTC 2021
> Hi Norman,
>
> I think you are overcomplicating things quite a bit.
>
> 1. Build a HEAD (9.3) compiler
> 2. Setup a normal cabal project to depend on the `ghc` library
> 3. Use the cabal -w option to point to your HEAD compiler to build the
> project (`cabal build -w /path/to/head`)
>
> That will work reliably rather than messing around with package databases.
My understanding is that if I do things this way, I give up the
Haskell Language Server. I am in the middle of learning a large,
unfamiliar API, and the HLS is a lifeline to the documentation.
Am I wrong? Is there another fast path to the documentation?
Norman
More information about the ghc-devs
mailing list