ghc-mod-5.5.0.0: Happy Haskell Programming

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.GhcMod.CabalHelper

Synopsis

Documentation

getComponents :: (Applicative m, IOish m, Gm m) => m [GmComponent GMCRaw ChEntrypoint] Source

Primary interface to cabal-helper and intended single entrypoint to constructing GmComponents

The Component's gmcHomeModuleGraph will be empty and has to be resolved by resolveGmComponents.

getGhcMergedPkgOptions :: (Applicative m, IOish m, Gm m) => m [GHCOption] Source

Only package related GHC options, sufficient for things that don't need to access home modules

withAutogen :: (IOish m, GmEnv m, GmOut m, GmLog m) => m a -> m a Source