ghc-mod/Lang.hs
2010-11-17 12:27:23 +09:00

14 lines
286 B
Haskell

{-# LANGUAGE CPP #-}
module Lang where
import DynFlags
import Types
listLanguages :: Options -> IO String
#if __GLASGOW_HASKELL__ >= 700
listLanguages opt = return $ convert opt supportedLanguagesAndExtensions
#else
listLanguages opt = return $ convert opt supportedLanguages
#endif