
30 Jul
2006
30 Jul
'06
8:05 a.m.
* SevenThunders:
OK it was stupid. Apparently GHC behaves differently according to what the name of the high level source file is. If I renamed test.hc to main.hc everything works the same as GHCi. I probably should actually read the manual some day.
Some operating systems have a "test" program, which gets called if you just enter "test". Try using "./test" and see if it makes a difference.