
18 Jan
2005
18 Jan
'05
6:14 p.m.
In article <41ECD49F.9020601@imperial.ac.uk>,
Keean Schupke
Surely both requirements can be satisfied if the programs arguments are made parameters of main:
main :: [String] -> IO ()
Keean.
Better yet, it should be an implicit parameter so as not to break existing programs. main :: (?args :: [String]) => IO () You could do the same with standard input and output. -- Ashley Yakeley, Seattle WA