module Language.Haskell.Interpreter.Unsafe (
unsafeSetGhcOption, unsafeRunInterpreterWithArgs
)
where
import Control.Monad.Trans
import Control.Monad.Catch
import Hint.Base
import Hint.Configuration
import Hint.InterpreterT
unsafeSetGhcOption :: MonadInterpreter m => String -> m ()
unsafeSetGhcOption = setGhcOption
unsafeRunInterpreterWithArgs :: (MonadCatch m, MonadIO m, Functor m)
=> [String]
-> InterpreterT m a
-> m (Either InterpreterError a)
unsafeRunInterpreterWithArgs = runInterpreterWithArgs