simpleargs-0.1: Example.hs
-- | Simple example, demonstrating the usage
-- This requires the first arg to be an int, and the second to be a string.
import System.SimpleArgs
main = do
(i,name) <- getArgs
print (i+10::Int)
print ("Hello, "++name++"!")