Update examples

This commit is contained in:
Don Stewart
2005-09-03 04:45:14 +00:00
parent 5321754614
commit dff0363224
421 changed files with 19 additions and 9 deletions

View File

@ -0,0 +1,15 @@
--
-- Test if we can load a module with a hierarchical name from some weird
-- path. Tests our the module name handling in the .hi file parser.
--
module Main where
import System.Plugins
main = do
status <- load "../A/B/C/Module.o" [".."] [] "symbol"
case status of
LoadFailure ers -> mapM_ putStrLn ers
LoadSuccess _ v -> print (v :: String)

View File

@ -0,0 +1 @@
"You found me"