Migrate the remaining parts of the exposed API to GhcMod a
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
module Language.Haskell.GhcMod.Lang where
|
||||
|
||||
import DynFlags (supportedLanguagesAndExtensions)
|
||||
import Language.Haskell.GhcMod.Types
|
||||
import Language.Haskell.GhcMod.Convert
|
||||
import Language.Haskell.GhcMod.Monad
|
||||
|
||||
-- | Listing language extensions.
|
||||
|
||||
listLanguages :: Options -> IO String
|
||||
listLanguages opt = return $ convert opt supportedLanguagesAndExtensions
|
||||
languages :: GhcMod String
|
||||
languages = convert' supportedLanguagesAndExtensions
|
||||
|
||||
Reference in New Issue
Block a user