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
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
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,
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
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,
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
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.
[Apologies for multiple copies of this announcement]
RDP'03 - Second announcement
Federated Conference on Rewriting, Deduction and Programming (RDP)
* 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,
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
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
* 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
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
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
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
15 matches
Mail list logo