Re: smp and make

1999-06-28 Thread Michael Weber
On Wed, Jun 16, 1999 at 15:57:00 -0400, Kirstin S. Reese wrote: when building ghc on an smp machine, gmake arguments of -j ?? are overridden by -rj 1, in an unneccesary fashion. However, I cannot find where this is defined for MFLAGS. Any one know about this? Hi! Actually, this is

Re: PATCH: unlit.c

1999-06-28 Thread Kevin Atkinson
Kevin Atkinson wrote: I discovered that my problem was that unlit was crashing because stdout does not like to be closed. Anyway this patch fixes the problem. I will let you know how things go now that I solved that problem. Next time I will actually take a look at the core file. It

RE: PATCH: unlit.c

1999-06-28 Thread Simon Marlow
It turns out that unlit.c was the only think I needed to modify in order to get the CVS version (June 27) to compile with the ghc 4.02 linux binaries. The fflush in RtsStartup had nothing to do with it. Not being able to close stdout is defiantly a bug as the glibc info pages has an

Re: PATCH: unlit.c

1999-06-28 Thread Kevin Atkinson
Simon Marlow wrote: Thanks Kevin - I've applied your patch. Should be in tomorrow's CVS. Your welcome. BTW: the ghc perl script could defiantly be dive better error messages. Like saying which program actually crashed instead of just returning nothing but a bad return value. -- Kevin

RE: Parser or Renamer error

1999-06-28 Thread Simon Marlow
While trying to compile fudgets with my newest ghc build (CVS, checked out on Mon Jun 21, about 18:00 GMT), the following error occurred: Font.hs:182: Data constructor not in scope: `LA' Font.hs:182: Variable not in scope: `.!' Font.hs:182: Data constructor not in scope: `LA'

Parser or Renamer error

1999-06-28 Thread Hannah Schroeter
Hello! While trying to compile fudgets with my newest ghc build (CVS, checked out on Mon Jun 21, about 18:00 GMT), the following error occurred: Font.hs:182: Data constructor not in scope: `LA' Font.hs:182: Variable not in scope: `.!' Font.hs:182: Data constructor not in scope: `LA'

CVS Version of GHC has problems finding Instances

1999-06-28 Thread Kevin Atkinson
It seams that the CVS version of ghc (June 27) has problems finding instances. See the attached file Main.hs in a message I just sent to the Haskell mailing list with a subject of "Second attempt for an STL like library for Haskell". If I don't import Eval it complains of not being able to

Second attempt for an STL like library for Haskell

1999-06-28 Thread Kevin Atkinson
This is a multi-part message in MIME format. --EBB527FEAD30E684DE2E6D05 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Here is begginings of my second attempt for an STL like library for Haskell. The only think this version has is Arrays however I plan to

Re: Making system call from Haskell?

1999-06-28 Thread Manuel M. T. Chakravarty
Do anyone know another way to make system call from Haskell (such as finding files in a directory, change file attribute...) besides calling to another language to do the job? In the end, you will have to call out to C anyway. So what do you really want to avoid? The bother of coding it up

Re: Making system call from Haskell?

1999-06-28 Thread Hans Aberg
At 13:15 +0800 1999/06/26, Nguyen Phan Dung wrote: Do anyone know another way to make system call from Haskell (such as finding files in a directory, change file attribute...) besides calling to another language to do the job? Hugs has a System module, which calls the C system() function. It

Re: Strange lexical syntax

1999-06-28 Thread Christian Sievers
Simon Marlow wrote: Quick quiz: how many Haskell lexemes are represented by the following sequences of characters? 1) M.x 2) M.let 3)M.as 4) M.. 5) M... 6) M.! answers: 1) 1. This is a qualified

Re: Second attempt for an STL like library for Haskell

1999-06-28 Thread Kevin Atkinson
This is a multi-part message in MIME format. --D60EAED940B337DE04784023 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Kevin Atkinson wrote: The file Main.hs contains a small test script demonstrating how PrimArrays can be faster than arrays with bound

Strange lexical syntax

1999-06-28 Thread Simon Marlow
I just uncovered a couple of strange cases in the Haskell lexical syntax. If you're not especially bothered about such things, don't bother to read on! Quick quiz: how many Haskell lexemes are represented by the following sequences of characters? 1) M.x 2) M.let

Re: Making system call from Haskell?

1999-06-28 Thread Lennart Augustsson
Hans Aberg wrote: At 13:15 +0800 1999/06/26, Nguyen Phan Dung wrote: Do anyone know another way to make system call from Haskell (such as finding files in a directory, change file attribute...) besides calling to another language to do the job? Both of these things are supported by the