[Haskell-cafe] "plugins" fails on a simple example
Petr Pudlák
petr.mvd at gmail.com
Mon Sep 16 09:49:17 CEST 2013
Hi,
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 rof
Right (Just f) ->do
print $ f
Left err -> putStrLn $"Error:" ++ unlines err
_ -> putStrLn $"Unknown error."|
However, it fails with
|Error:
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.
Thanks,
Petr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130916/fe2c7832/attachment.htm>
More information about the Haskell-Cafe
mailing list