Dufflebunk <dufflebunk@dufflebunk.homeip.net> writes: > module Test where > main = return () > Here is the result: > $ nhc98 test.hs > /usr/lib/nhc98/ix86-Linux/Prelude.a(_Driver.o)(.data+0x88): undefined > reference to `CF_Main_46main' > collect2: ld returned 1 exit status The 'main' function must be in a module named 'Main', but your module is named 'Test'. Regards, Malcolm