haddock (and -- $)

2003-12-18 Thread Johannes Waldmann
hello. a few comments and questions on haddock (www.haskell.org/haddock/) 1. haddock is great 2. haddock's interpretation of -- $ is un-great: I have two types of -- $ occurences in my code that conflict with haddock's idea of named doc chunks a. CVS macros: -- $Id: ...$ b. pipes like this,

RE: haddock (and -- $)

2003-12-18 Thread Simon Marlow
hello. a few comments and questions on haddock (www.haskell.org/haddock/) 1. haddock is great Thanks ;) 2. haddock's interpretation of -- $ is un-great: I have two types of -- $ occurences in my code that conflict with haddock's idea of named doc chunks a. CVS macros: -- $Id:

GHC: Installation problem on suse 9.0.

2003-12-18 Thread Gustavo Villavicencio
Dear all i have running ghc on suse 7.3, but i can't install it on suse 9.0. the next error is raising during the HC files compilation: ... CTypes.hc:55265: warning: (near initialization for `CTypes_tpl890_closure.payload') CTypes.hc:55297: warning:

RE: Installation problem on suse 9.0.

2003-12-18 Thread Gustavo Villavicencio
before nothing, THANKS Simon. I have begun the ghc installation process from the 4.08.2 version. By other side, the suse 9.0 comes with gcc 3.3.1-24. thanks again, gustavo Simon Marlow said: [ moved to [EMAIL PROTECTED] ] i have running ghc on suse 7.3, but i can't install it on suse 9.0. the

Fundeps discrepancy

2003-12-18 Thread Martin SULZMANN
Hi, Yes, there is a formal description of type inference for FDs. You can download a paper via http://www.comp.nus.edu.sg/~sulzmann/chr/publications.html (Sound and Decidable Type Inference for Functional Dependencies by Gregory J. Duck, Simon Peyton-Jones, Peter J. Stuckey and Martin

Re: Installation problem on suse 9.0.

2003-12-18 Thread Donald Bruce Stewart
gustavov: before nothing, THANKS Simon. I have begun the ghc installation process from the 4.08.2 version. By other side, the suse 9.0 comes with gcc 3.3.1-24. thanks again, gustavo Simon Marlow said: [ moved to [EMAIL PROTECTED] ] i have running ghc on suse 7.3, but i can't install

Re: ANNOUNCE: GHC version 6.2

2003-12-18 Thread Donald Bruce Stewart
simonmar: The (Interactive) Glasgow Haskell Compiler -- version 6.2 We are pleased to announce a new major release of the Glasgow Haskell Compiler (GHC),

bug during documentation generation?

2003-12-18 Thread Andres Loeh
Shouldn't the attached patch be applied to the file package.mk in the GHC 6.2 build system? Explanation: I think that for the generation of the documentation the new ghc should be used, not the old one. I got the following error while compiling GHC 6.2 with OpenGL support, using the binary

hGetBuf (or something related) broken for 6.2 with sockets

2003-12-18 Thread George Russell
I have just installed ghc6.2 on Linux. (I had to compile it from source because the binaries insist on a glibc version we don't have.) The attached module contains two functions (serverMain) and (clientMain). clientMain opens a connection (to localhost) and sends some data along it, then executes

Re: hGetBuf (or something related) broken for 6.2 with sockets

2003-12-18 Thread Tomasz Zielonka
On Thu, Dec 18, 2003 at 07:44:58PM +0100, George Russell wrote: (b) The server module only gets part of the data. In fact for me it comes to a stop with [239][240][241][242][243Iterating despite there being more data to come. (And despite the fact that the client has done hFlush).

Re: bug during documentation generation?

2003-12-18 Thread Sven Panne
Andres Loeh wrote: Shouldn't the attached patch be applied to the file package.mk in the GHC 6.2 build system? [...] Thank for the patch, I've just applied it to the CVS version. I thought I fixed this some time ago, but OTOH I have been building my GHC including the OpenGL package for ages now...

RE: Template Haskell and the command line

2003-12-18 Thread Simon Peyton-Jones
Simon M has persuaded me that -D/-U are really cpp-specific flags. What's to stop you using the environment variables directly? Suppose you had getEnvVar :: String - Q (Maybe String) which is pretty much what System.getEnv does. Would that do the job? Then you could say

Re: To show or not to show french accents

2003-12-18 Thread Carsten Schultz
Hallo! On Thu, Dec 18, 2003 at 01:55:27PM +0100, [EMAIL PROTECTED] wrote: Well, I think there should probably be some internationalisation mechanism that tells the show function (to name one), according to some configuration, how to interpret a byte as a character. My understanding is that

RE: Installation problem on suse 9.0.

2003-12-18 Thread Simon Marlow
[ moved to [EMAIL PROTECTED] ] i have running ghc on suse 7.3, but i can't install it on suse 9.0. the next error is raising during the HC files compilation: ... CTypes.hc:55265: warning: (near initialization for

RE: Running a final finaliser

2003-12-18 Thread Simon Marlow
I hope this question isn't too stupid, but I can't find any obvious way to do this from reading the ghc docs. What I want to do is call a final foreign function (a library shutdown routine) when Haskell terminates, but after all ForeignPtr finalisers have been run. I suppose I could

Re: To show or not to show french accents

2003-12-18 Thread francis . girard
Good evening, OK. I don't know Haskell enough to argue. But I can't resist pointing out that reading a single byte having the value 233 (that is 'é') is certainly simpler than reading the four characters \233, parse it, and translate it into a single byte having the value 233 representing no

Re: To show or not to show french accents

2003-12-18 Thread Jon Fairbairn
On 2003-12-18 at 16:40+0100 [EMAIL PROTECTED] wrote: Good evening, OK. I don't know Haskell enough to argue. But I can't resist pointing out that reading a single byte having the value 233 (that is 'é') The problem is that if you are reading single bytes, 233 is not necessarily é. It

Re: To show or not to show french accents

2003-12-18 Thread Dimitry Golubovsky
I would support the point of view that show should output escapes when showing characters outside ASCII. This is sort of a transport format (together with read), therefore it must be a GCD for all possible input encodings. UTF-8 might be alternative, but it would require to be equally

Re: ANNOUNCE: GHC version 6.2

2003-12-18 Thread Donald Bruce Stewart
simonmar: The (Interactive) Glasgow Haskell Compiler -- version 6.2 We are pleased to announce a new major release of the Glasgow Haskell Compiler (GHC),