Update examples
This commit is contained in:
6
testsuite/eval/eval2/Main.hs
Normal file
6
testsuite/eval/eval2/Main.hs
Normal file
@ -0,0 +1,6 @@
|
||||
import System.Eval.Haskell
|
||||
|
||||
main = do m_s <- eval "map toUpper \"haskell\"" ["Data.Char"]
|
||||
case m_s of
|
||||
Nothing -> putStrLn "typechecking failed"
|
||||
Just s -> putStrLn s
|
Reference in New Issue
Block a user