error while executing hello world under Windows

2001-01-22 Thread Janna Khegai
Hi, When Itry to execute"hello world" sample programunder Windows (millenium) I get an error message. Namely, amessage window appears saying that hello.exe caused a problem andwill be closed. I scan the newsgroup, but havn't discovered anything like that so far.Everybody seems to be happy

error while creating dll

2001-01-22 Thread Janna Khegai
Hi, I tried to make an exmple dll from the chapter 10.4 of User's Guide. After printing ghc --mk-dll -static -o adder.dll adder.o adder_stub.o dllMain.o I got: dllwrap -mno-cygwin --target=i386-mingw32 --output-lib libadder_imp.a --export-all --output-def adder.def -o adder.dll

hello world fails to run on windows

2001-01-22 Thread Meurig Sage
Hi I installed ghc-4.08.1 earlier today on a Windows NT box. I tried out hello world. I compiled with: ghc -O -static -o main Main.hs Compilation went fine. But when I tried to run the program it produced no output. I then experimented further. I got TclHaskell up running and successfully

VB: Bug, perhaps to do with functional dependencies?

2001-01-22 Thread John Hughes
This is a second attempt with entire tar archive replaced by just the problematic source file and interface files, so as to fit within the 40K limit. - Original Message - From: John Hughes To: [EMAIL PROTECTED] Sent: Monday, January 22, 2001 7:49 PM Subject: Bug, perhaps to do

Re: VB: Bug, perhaps to do with functional dependencies?

2001-01-22 Thread Michael Weber
* John Hughes [EMAIL PROTECTED] [2001-01-22T20:10+0100]: liam@HEMPC ~/BDDs $ ghc -static -c -fglasgow-exts Pigeon.hs [...] basicTypes/Var.lhs:194: Non-exhaustive patterns in function readMutTyVar This is a nice one. If you change it in a sublte way: +++ Pigeon.hi pigeon n t =