[Haskell-cafe] "plugins" fails on a simple example
Thu Oct 3 18:46:10 UTC 2013
this should be fixed in plugins 220.127.116.11 which is now on hackage.
On Mon, Sep 16, 2013 at 2:49 AM, Petr Pudl?k <petr.mvd at gmail.com> wrote:
> I'm playing with ?plugins?, trying to evaluate a simple expression:
> import Control.Monad
> import System.Eval.Haskell
> main = do
> let fExpr = "1 + 2 :: Int"
> r <- eval_ fExpr ["Prelude"]   
> :: IO (Either [String] (Maybe Int))
> case r of
> Right (Just f) -> do
> print $ f
> Left err -> putStrLn $ "Error: " ++ unlines err
> _ -> putStrLn $ "Unknown error."
> However, it fails with
> on the commandline: Warning:
> -fglasgow-exts is deprecated: Use individual extensions instead
> Am I doing something wrong? How can I turn off the flag?
> I'm using GHC 7.6.3.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe