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