
12 Aug
2020
12 Aug
'20
5:52 p.m.
On 2020-08-10 22:35, Niklas Hambüchen wrote:
Hey James,
yes, if you want to avoid duplicate compilation, you need to define a `library` with a separate `hs-source-dirs` and use that library in the `build-depends` of your executables.
See
https://stackoverflow.com/questions/12305970/how-to-make-a-haskell-cabal-pro...
and the linked question.
Cheers, Niklas
Thanks! That's exactly the information I was looking for. I guess I did not use the right search terms. -- James