ghc-mod/Language/Haskell/GhcMod/Lang.hs
2014-05-14 17:06:30 +02:00

11 lines
316 B
Haskell

module Language.Haskell.GhcMod.Lang where
import DynFlags (supportedLanguagesAndExtensions)
import Language.Haskell.GhcMod.Types
import Language.Haskell.GhcMod.Convert
-- | Listing language extensions.
listLanguages :: Options -> IO String
listLanguages opt = return $ convert opt supportedLanguagesAndExtensions