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
|
2
testsuite/eval/eval2/Makefile
Normal file
2
testsuite/eval/eval2/Makefile
Normal file
@ -0,0 +1,2 @@
|
||||
TOP=../../..
|
||||
include ../../eval.mk
|
1
testsuite/eval/eval2/expected
Normal file
1
testsuite/eval/eval2/expected
Normal file
@ -0,0 +1 @@
|
||||
HASKELL
|
Reference in New Issue
Block a user