Running a main that calls getArgs inside GHCi yields the arguments to GHCi, not main. Any way around this? Cheers, Andy -- Andy Moran PacSoft x7557 Computer Science & Engineering +1 503 748 7557 Oregon Graduate Institute http://www.cse.ogi.edu/~moran