Re: Feature proposal: ghc --full-flag-help ?

2007-03-13 Thread Ketil Malde
Simon Peyton-Jones <[EMAIL PROTECTED]> writes: > Suppose ghc --full-flag-help simply printed the URL > > http://www.haskell.org/ghc/docs/latest/html/users_guide/flag-reference.html Or suppose it did 'system("man ghc")'? -k -- If I haven't seen further, it is by standing in the footpr

Re: Feature proposal: ghc --full-flag-help ?

2007-03-13 Thread Marc Weber
On Tue, Mar 13, 2007 at 01:57:10PM +0100, Marc Weber wrote: > Hi > > I did notice a lot of times that I just didn't remember the name of > option X. How to look it up? Walk through html or pdf documentation? Just printing a link to ghc online docs is not enough because: * maybe no internet avai

Re: documentation of -M option insufficient

2007-03-13 Thread Marc Weber
On Tue, Mar 13, 2007 at 02:37:09PM +0100, Marc Weber wrote: > The description of the -M option looks like this: > > -M Generate dependency information suitable for use in a Makefile. > (copied from > http://www.haskell.org/ghc/docs/latest/html/users_guide/flag-reference.html#id3152912) > > It sh

Re: Progress building unregisterised for FreeBSD/amd64

2007-03-13 Thread Ian Lynagh
Hi Gregory, On Tue, Mar 13, 2007 at 05:18:42PM -0400, Gregory Wright wrote: > > The 6.4.2 build now runs successfully to the end of the hc-build script. Ah, good, that'll hopefully make getting 6.6 working less painful. > The interesting thing is that out of the box using the 6.4.2 > bootstr

Progress building unregisterised for FreeBSD/amd64

2007-03-13 Thread Gregory Wright
Hi Ian, I have made some progress. Today I got 6.4.2 to build unregisterized on my FreeBSD/amd64 box. I went back to 6.4.2 because the only actual report of success I could find record of was Wilhelm Kloke's. He used 6.4.1. I made certain I had exactly the same versions of readline and gm

Re: Feature proposal: ghc --full-flag-help ?

2007-03-13 Thread Pepe Iborra
A full listing of the available flags would be useful too for a hypothetic bash complete mode. I think that's how the bash completion package for darcs does it. And you know, with those three or four words compound flags, with their number rising to .. nearly a hundred?, this would be a very

Re: Feature proposal: ghc --full-flag-help ?

2007-03-13 Thread Lennart Augustsson
Sorry, but I'm not always connected to the Internet. I'd like to be able to get flag help easily anyway. -- Lennart On Mar 13, 2007, at 14:28 , Simon Peyton-Jones wrote: Suppose ghc --full-flag-help simply printed the URL http://www.haskell.org/ghc/docs/latest/html/users_gui

Re: Still trying to build unregisterised for FreeBSD/amd64

2007-03-13 Thread Ian Lynagh
Hi Gregory, On Thu, Mar 08, 2007 at 11:25:39AM -0500, Gregory Wright wrote: > > I fixed up Linker.c by replacing the calls to mmap (which will need > fixing up anyway > on FreeBSD/amd64) with MAP_FAILED and copying the definitions of four > relocation > types for X86_64 from machine/elf.h on

Re: Re[2]: Feature proposal: ghc --full-flag-help ?

2007-03-13 Thread Claus Reinke
| > Suppose ghc --full-flag-help simply printed the URL | > http://www.haskell.org/ghc/docs/latest/html/users_guide/flag-reference.html | > Now you can see it in your web browser by clicking on it. Indeed, the installed version would be much better it would indeed be kind of nice if ghc (perhap

RE: Re[2]: Feature proposal: ghc --full-flag-help ?

2007-03-13 Thread Simon Peyton-Jones
| > Suppose ghc --full-flag-help simply printed the URL | > | > http://www.haskell.org/ghc/docs/latest/html/users_guide/flag-reference.html | > Now you can see it in your web browser by clicking on it. | | my usual warning: not anyone has 24h internet connection. i've | switched to adsl just 1 mont

cvs.haskell.org

2007-03-13 Thread Christian Maeder
Hi Thomas, what happened to :pserver:[EMAIL PROTECTED]:/cvs ? We are no longer able to check out your programatica sources as described at: http://ogi.altocumulus.org/~hallgren/Programatica/cvs.html Already login fails with: Logging in to :pserver:[EMAIL PROTECTED]:2401/cvs CVS password: PAM st

Re[2]: Feature proposal: ghc --full-flag-help ?

2007-03-13 Thread Bulat Ziganshin
Hello Simon, Tuesday, March 13, 2007, 5:28:30 PM, you wrote: > Suppose ghc --full-flag-help simply printed the URL > > http://www.haskell.org/ghc/docs/latest/html/users_guide/flag-reference.html > Now you can see it in your web browser by clicking on it. my usual warning: not anyone has

RE: Feature proposal: ghc --full-flag-help ?

2007-03-13 Thread Simon Peyton-Jones
Suppose ghc --full-flag-help simply printed the URL http://www.haskell.org/ghc/docs/latest/html/users_guide/flag-reference.html Now you can see it in your web browser by clicking on it. Simon | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On | Behalf Of

documentation of -M option insufficient

2007-03-13 Thread Marc Weber
The description of the -M option looks like this: -M Generate dependency information suitable for use in a Makefile. (copied from http://www.haskell.org/ghc/docs/latest/html/users_guide/flag-reference.html#id3152912) It should contain the hint that it writes this information to a Makefile. I'm t

Re: Feature proposal: ghc --full-flag-help ?

2007-03-13 Thread Neil Mitchell
Hi > What about integrating a complete list into ghc which can accessed by > ghc --full-flag-help | less ? > Sure I can fake it and get that list out of the html documentation. I > just want to know if someone else would like this flag, too I would find it very useful too. Me too. At the sam

RE: Feature proposal: ghc --full-flag-help ?

2007-03-13 Thread Sittampalam, Ganesh
> What about integrating a complete list into ghc which can accessed by > ghc --full-flag-help | less ? > Sure I can fake it and get that list out of the html documentation. I > just want to know if someone else would like this flag, too I would find it very useful too. Ganesh =

Feature proposal: ghc --full-flag-help ?

2007-03-13 Thread Marc Weber
Hi I did notice a lot of times that I just didn't remember the name of option X. How to look it up? Walk through html or pdf documentation? This forces me launching either firefox, entering shortcut odocghc (pointing to ghc help) ... HTML help ... flag reference .. which subtopic to look at? Lets

RE: slight difference in strictness between -O0 and -O

2007-03-13 Thread Simon Peyton-Jones
You are quite right. I've submitted a Trac report. Simon | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On | Behalf Of Kirsten Chevalier | Sent: 13 March 2007 10:03 | To: Albert Y. C. Lai | Cc: glasgow-haskell-users@haskell.org | Subject: Re: slight difference in

Re: slight difference in strictness between -O0 and -O

2007-03-13 Thread Kirsten Chevalier
On 3/13/07, Kirsten Chevalier <[EMAIL PROTECTED]> wrote: I noticed that compiling with -O -frules-off causes the test program here to correctly print out "x". So, I was looking at the "take" rule in GHC/List.lhs. Doesn't this rule change the strictness of take? "take" [~1] forall n xs . tak

Re: slight difference in strictness between -O0 and -O

2007-03-13 Thread Kirsten Chevalier
On 3/12/07, Kirsten Chevalier <[EMAIL PROTECTED]> wrote: On 3/12/07, Kirsten Chevalier <[EMAIL PROTECTED]> wrote: > On 3/12/07, Albert Y. C. Lai <[EMAIL PROTECTED]> wrote: > > main = print (map (const 'x') (take 1 (undefined:undefined))) > > > > In ghci, or with ghc -O0, this produces "x". > > Wi