2013-05-17 01:00:01 +00:00
|
|
|
module Language.Haskell.GhcMod.Lang where
|
|
|
|
|
2014-04-28 05:13:25 +00:00
|
|
|
import DynFlags (supportedLanguagesAndExtensions)
|
2013-05-17 01:00:01 +00:00
|
|
|
import Language.Haskell.GhcMod.Types
|
|
|
|
|
2013-05-20 05:28:56 +00:00
|
|
|
-- | Listing language extensions.
|
|
|
|
|
2013-05-17 01:00:01 +00:00
|
|
|
listLanguages :: Options -> IO String
|
2014-04-28 05:13:25 +00:00
|
|
|
listLanguages opt = return $ convert opt supportedLanguagesAndExtensions
|