Update examples
This commit is contained in:
9
testsuite/eval/eval_/Main.hs
Normal file
9
testsuite/eval/eval_/Main.hs
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
import System.Eval.Haskell
|
||||
|
||||
main = do i <- eval_ "Just (7 :: Int)"
|
||||
["Maybe"]
|
||||
["-fglasgow-exts"]
|
||||
[]
|
||||
[] :: IO (Either [String] (Maybe (Maybe Int)))
|
||||
print i
|
Reference in New Issue
Block a user