RE: Illegal instruction in getgrnam_r ()

2003-09-22 Thread Simon Marlow
Here is a little program that produces some interesting results on at least 2 platforms. Both systems were using 6.0.1. This (silly) program works on x86-linux. It produces an illegal instruction SIGILL on a sparc, and there is some OS-related problem on FreeBSD and OpenBSD (which is my

RE: Possible compiler bug

2003-09-22 Thread Simon Marlow
I was playing around with GHC and my compiled dll-library of wxHaskell(see sourceForge for details). The compilation was done with the last versions of msys and MinGW. In the GHC usersguide, I saw that it was possible to link libraries with GHCi. So I thought, ok lets try that.

Re: None

2003-09-22 Thread Arunkumar S Jadhav
On Sun, 21 Sep 2003, Sven Panne wrote: It's a decision of the packager whether HOpenGL is supported or not (you didn't write what binary package you use or if you built GHC for yourself). If it's not there, you have to build GHC for yourself, adding `--enable-hopengl' to configure's

Re: Installing _all_ documentation?

2003-09-22 Thread Peter Simons
Simon Marlow writes: The same technique works for Happy, Haddock Alex, except that some of these (I forget which) didn't have the doc directory included in the standard build, so you had to go into eg. happy/doc and say 'make install-docs' explicitly. Adding SGMLDocWays := html to each

RE: Installing _all_ documentation?

2003-09-22 Thread Simon Marlow
Simon Marlow writes: The same technique works for Happy, Haddock Alex, except that some of these (I forget which) didn't have the doc directory included in the standard build, so you had to go into eg. happy/doc and say 'make install-docs' explicitly. Adding SGMLDocWays :=

RE: segfault with heap profiling.

2003-09-22 Thread Simon Marlow
I've been getting a segfault whenever I try to run my program with +RTS -hc (having compiled with profiling enabled). Any idea what might cause this, or how I might track it down? I am using ghc 6.0.1, and see this problem on both linux (debian testing) and macos X. On macos X the

Re: None

2003-09-22 Thread Sven Panne
Arunkumar S Jadhav wrote: [...] all is well now except that ghc is complaining about GL, and GLU packages. Can't these packages be installed in one shot? Hmmm, there are no GL and GLU packages: With `--enable-hopengl' you get an OpenGL package (containing the GL/GLU API, there is no point in

SWEEPSTAKE LOTTERY WINNER

2003-09-22 Thread GLOBALNET PROMO LOTTERY
FROM: THE DESK OF THE VICE PRESIDENT INTERNATIONAL PROMOTIONS/PRIZE AWARD DEPT. REF NO: EGS/1977384210/03. BATCH NO:21/0009/1PH Date:22-septmber..,2003. ATTN: RE:AWARD NOTIFICATION FINAL NOTICE WE are pleased to inform you of the release of the results of the GLOBAL NET

echoing of getChar, getLine, getContents

2003-09-22 Thread Peter Thiemann
The report states about getChar, getLine, and getContents: By default, these input functions echo to standard output. In version 1.3 of the report, it used to continue Functions in the I/O library provide full control over echoing. Apparently, this has been removed and the I/O library

RE: echoing of getChar, getLine, getContents

2003-09-22 Thread Simon Marlow
The report states about getChar, getLine, and getContents: By default, these input functions echo to standard output. In version 1.3 of the report, it used to continue Functions in the I/O library provide full control over echoing. Apparently, this has been removed and the I/O

Re: Polymorphic Recursion / Rank-2 Confusion

2003-09-22 Thread Frank Atanassow
On maandag, sep 22, 2003, at 00:07 Europe/Amsterdam, Brandon Michael Moore wrote: Can anyone tell me what's wrong with the following derivation? Without going through your derivation completely, the problem is almost certainly polymorphic recursion. Vector is a nested datatype---its definition

Research Positions at the Technical University of Valencia

2003-09-22 Thread Jose Hernandez-Orallo
Invitation for Applications Department of Computer Science ELP group Technical University of Valencia (Spain) TWO research positions are available in the STREAM Project (Formal Software Tools: A Multi-paradigm approach) led by Maria Alpuente. The positions are for one year starting January

Re: Polymorphic Recursion / Rank-2 Confusion

2003-09-22 Thread oleg
Dominic Steinitz wrote: My motivation in using this type was to see if, for example, I could restrict addition of a vector to another vector to vectors of the same length. This would be helpful in the crypto library where I end up having to either define new length Words all the time or using

Thanks: (was Question about categories)

2003-09-22 Thread Graham Klyne
Thanks to everyone who responded to my question about category theory. The responses turned up some interesting and useful material on the web, which I'm still digesting. Notably [1] [2]. There's something in the introduction of [2] that I think will help me get a handle on this: [[ ...

Re: An IO Question from a Newbie

2003-09-22 Thread Jon Cast
On Fri, 12 Sep 2003 16:27:59 -0600 Matt O'Connor [EMAIL PROTECTED] wrote: Hello all. I'm new to functional programming and Haskell, but have been programming in C and Java for a while. I've been going through the tutorials and whatnot on haskell.org. I've read from the Gentle

garbage collection and Ptr/ForeignPtr/StablePtr

2003-09-22 Thread Bayley, Alistair
Should I expect that Ptr memory allocated with malloc is garbage collected when no longer used by the Haskell runtime? The FFI spec doesn't say so explicitly (that I could see); AFAICT this is how the pointer types behave: Ptr : freed when no longer used/referenced ForeignPtr : like Ptr, but

RE: garbage collection and Ptr/ForeignPtr/StablePtr

2003-09-22 Thread Simon Marlow
Should I expect that Ptr memory allocated with malloc is garbage collected when no longer used by the Haskell runtime? The FFI spec doesn't say so explicitly (that I could see); AFAICT this is how the pointer types behave: Ptr : freed when no longer used/referenced ForeignPtr :