bug with -O -ffi and multiple module

2003-01-28 Thread Hal Daume III
Okay, here's a weird one. There's something wrong with the ffi when using -O and the foreign imports are from another module. For example, our foreign module, foo.c contains functions: void* openFile(char*fn); void closeFile(void*f); float readFloat(void*f); which are interfaced from

Re: Profiling trouble

2003-01-28 Thread Ferenc Wagner
Hello, something interesting turned up again. Setting cut=8 in Show2.hs and running it with ./show +RTS -h -i0.01 gives show: fatal error: main thread has been GC'd It may be silly, since 0.01 1/50, but this error message isn't too helpful. Btw, +RTS -? says: -imsec

ghc/cygwin filename resolution issue.

2003-01-28 Thread Alex Ferguson
Using ghc-5.04.2 under cygwin, and cygwin (v. 1.3.10-1), I'm having some horrible problems with inconistent treatment of filenames, especially when using (gnu, cygwin) make. In a nutshell, make seems to be passing paths such as /usr/local/hmake (etc) to ghc, which is, as I understand it,

Re: ghc/cygwin filename resolution issue.

2003-01-28 Thread Hal Daume III
It's been a while since I've installed GHC on Windows, but I believe back when I did it (5.00 or something), you needed to have cygwin installed in c:\, not c:\cygwin, despite cygwin's protests. I don't know if this has changed, though. - Hal -- Hal Daume III Computer science is no more

Re: ghc/cygwin filename resolution issue.

2003-01-28 Thread Claus Reinke
Using ghc-5.04.2 under cygwin, and cygwin (v. 1.3.10-1), I'm having some horrible problems with inconistent treatment of filenames, especially when using (gnu, cygwin) make. In a nutshell, make seems to be passing paths such as /usr/local/hmake (etc) to ghc, which is, as I understand it,

AW: Binary I/O in haskell.

2003-01-28 Thread Markus . Schnell
I tried this also, reading in WAV-Files as a String and then converting it into the appropriate format. That was really nearly infinitely slow. Now I'm doing all low-level sample and sound card stuff in C and use Haskell to controll it. It's a good balance, I think. I guess it would be possible

Re: Binary I/O in haskell.

2003-01-28 Thread Immanuel Litzroth
If you dont want to wait for libraries in development, the easiest way to do real binary IO is via hGetArray and hPutArray which let you get and put raw arrays of bytes (Word8). unfortunatly, there is no way to do binary IO in pure Haskell 98.

RDP'03 - Second announcement

2003-01-28 Thread German Vidal
[Apologies for multiple copies of this announcement] RDP'03 - Second announcement Federated Conference on Rewriting, Deduction and Programming (RDP)

Re: ANNOUNCE: Helium, for learning Haskell

2003-01-28 Thread Oliver Braun
* Arjan van IJzendoorn [EMAIL PROTECTED] [2003-01-27 15:13 +0100]: === Helium (for learning Haskell) 1.0 === I have added a port to the FreeBSD ports tree: See http://www.freshports.org/lang/helium/ Regards,

Re: Binary I/O in haskell.

2003-01-28 Thread Adrian Hey
On Tuesday 28 January 2003 11:07, Immanuel Litzroth wrote: What exactly does the castIOUArray function do? I asked the exact same question a couple of weeks ago. The think the answer is it does nothing. Have a look at the What does castIOUArray do? and Endian mode and hPutBuf hGetBuf threads

Preliminary Release: FastIO library

2003-01-28 Thread Hal Daume III
Hi all, I had intended to polish this a bit before releasing it, but there has been some traffic on the mailing list recently about how do to binary IO and this is part of the FastIO library I've been slowly putting together. It's not at all fancy and lacks docs at this point, but people who are

Re: announce: buddha 0.4, a declarative debugger for Haskell 98

2003-01-28 Thread Oliver Braun
* Bernard James POPE [EMAIL PROTECTED] [2003-01-27 21:20 +1100]: Buddha version 0.4 is now available. Buddha is now available as part of the FreeBSD ports tree. BTW, FreeBSD haskellers, we have a virtual category haskell now, see, e.g. ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/haskell

ANNOUNCE: greencard, v2.05

2003-01-28 Thread Sigbjorn Finne
A new release of greencard is now available from http://haskell.org/greencard/ Not much new in terms of features, but binary bundles have been brought up-to-date wrt the current version of GHC (5.04.2) --sigbjorn ___ Haskell mailing list [EMAIL

Haskell and professional aspirations.

2003-01-28 Thread guilhermelopes
Hello there I'm a computer science undergraduate student, and would like to continue (or rather start) working with Haskell after graduation. Which universities welcome postgraduate work using functional programming languages? That is, which groups/departments of which

Re: Haskell and professional aspirations.

2003-01-28 Thread Nick Name
On Tue, 28 Jan 2003 09:32:02 - [EMAIL PROTECTED] wrote: Although this question is essentially personal in nature, I consider it to be (and tried to make it) broad enough to justify its presence here, propped up by Haskell being used around the world for teaching