Rearrange loadTargets code.

The loadTargets function is exposed via the Internal module for use by
external programmes, such as HaRe.

Re-arrange to code so that it can still be called with a list of string
targets, as it was before.
This commit is contained in:
Alan Zimmerman
2015-08-18 10:54:55 +02:00
committed by Daniel Gröber
parent bb3a948912
commit e198f68f2a
2 changed files with 17 additions and 15 deletions

View File

@@ -40,6 +40,7 @@ module Language.Haskell.GhcMod.Internal (
, cradle
, getCompilerMode
, setCompilerMode
, targetGhcOptions
, withOptions
-- * 'GhcModError'
, gmeDoc