f0bfcb8811
Not doing this makes having GhcModT pretty pointless as users of the library wouldn't be able to use custom inner monads as evey function for dealing with GhcModT's would be constraint to (GhcModT IO) thus only allowing IO as the inner monad.
11 lines
299 B
Haskell
11 lines
299 B
Haskell
module Language.Haskell.GhcMod.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
|