Answer the question
In order to leave comments, you need to log in
How to reduce the weight of compiled Haskell code?
How to reduce the weight of compiled Haskell code?
Answer the question
In order to leave comments, you need to log in
GHC option -split-sections
But it must be included on the entire codebase and all dependencies, otherwise it will cut one package, and the rest of the world will stick entirely.
cabal-install, globally in `~/.cabal/config`:
split-sections: true
stack, in each project, in `stack.yaml`:
ghc-options:
"$everything": -split-sections
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question