ghc-mod/GhcModExe/Lang.hs

11 lines
285 B
Haskell

module GhcModExe.Lang where
import DynFlags (supportedLanguagesAndExtensions)
import Language.Haskell.GhcMod.Convert
import Language.Haskell.GhcMod.Monad
-- | Listing language extensions.
languages :: IOish m => GhcModT m String
languages = convert' supportedLanguagesAndExtensions