ghc-mod/Lang.hs

14 lines
286 B
Haskell
Raw Normal View History

{-# LANGUAGE CPP #-}
2010-04-02 05:40:06 +00:00
module Lang where
2010-04-27 01:29:29 +00:00
import DynFlags
2010-04-30 09:36:31 +00:00
import Types
2010-04-02 05:40:06 +00:00
listLanguages :: Options -> IO String
#if __GLASGOW_HASKELL__ >= 700
listLanguages opt = return $ convert opt supportedLanguagesAndExtensions
#else
2010-04-27 01:29:29 +00:00
listLanguages opt = return $ convert opt supportedLanguages
#endif