ghc-options

Utilities for extracting GHC options needed to compile a given Haskell target. https://github.com/ranjitjhala/ghc-options.git

Latest on Hackage:0.2.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Ranjit Jhala
Maintained by jhala@cs.ucsd.edu

ghcopts is a library that makes it easy to determine what GHC options are needed to compile a file. It was built by extracting the relevant code from hdevtools which queries cabal and stack to determine the locations of various package databases, in order to pass them to GHC to process a target file. We have refactored this code into a separate package so that it can be used by other tools built on the GHC API.

comments powered byDisqus