ghc-mod/src/GHCModi.hs

17 lines
369 B
Haskell
Raw Normal View History

{-# LANGUAGE ScopedTypeVariables, DeriveDataTypeable #-}
2014-03-25 02:14:25 +00:00
-- | WARNING
-- This program is deprecated, use `ghc-mod legacy-interactive` instead.
2014-03-27 01:34:43 +00:00
2014-03-19 01:23:47 +00:00
module Main where
import System.Exit
import System.Process
import System.Environment
2014-03-25 02:34:58 +00:00
2014-03-19 01:23:47 +00:00
main :: IO ()
main = do
args <- getArgs
h <- spawnProcess "ghc-mod" $ ["legacy-interactive"] ++ args
exitWith =<< waitForProcess h