Update examples to use new module names

This commit is contained in:
Don Stewart
2005-05-15 06:03:55 +00:00
parent cfae954a22
commit 63717dc07c
94 changed files with 97 additions and 109 deletions

View File

@ -4,7 +4,7 @@
--
-- needs unsafeEval because eval has a broken Dynamic check
--
import Eval.Haskell
import System.Eval.Haskell
main = do fn <- unsafeEval "(\\x -> (x,x::Int))" [] :: IO (Maybe (Int -> (Int,Int)))
when (isJust fn) $ putStrLn $ show $ (fromJust fn) 7