Update examples to use new module names
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user