Re: nhc98 and Win32



About this list Date view Thread view Subject view Author view

Mike Thomas (mthomas@gil.com.au)
Tue, 20 Jun 2000 08:39:37 +1000


I just tried some of your hi examples before dashing off to work (which is the reason I usually offer problems rather than solutions, sorry) : All of them worked except for: > Try loading > the module Main with > :load Main >then asking for the expression "main"! It dumps me after a pattern match error. Neither Main.exe or a.out is in the working directory (or anywhere else), so something went wrong during the compilation: Prelude> :load Main [Std module... /usr/local/include/nhc98/Prelude.hi] [Found module... Main.hs] Main> main List: Pattern match failure in function at 4:1. BASH.EXE-2.04$ ls Main.hi Main.hs Main.o BASH.EXE-2.04$ Note that on all the working examples, Main.[exe | hi | o] appeared in the c:\tmp directory. Cheers Mike Thomas


About this list Date view Thread view Subject view Author view