ghc-mod/Flag.hs

13 lines
335 B
Haskell
Raw Normal View History

2012-01-27 12:22:36 +00:00
{-# LANGUAGE CPP #-}
module Flag where
import Types
2012-02-14 07:09:53 +00:00
import qualified Gap
listFlags :: Options -> IO String
2012-02-14 07:09:53 +00:00
listFlags opt = return $ convert opt [ "-f" ++ prefix ++ option
| option <- Gap.fOptions
, prefix <- ["","no-"]
]