OPTIONS_GHC -auto-all

2006-12-02 Thread Serge D. Mechveliani
Dear GHC developers, Can you, please tell me how to add -prof -auto-all as dynamic option for a chosen source module? This is in ghc-6.6. I `make' my large program (of many modules) via Cabal, under -prof. The Main module contains the test example main. `main' calls for

difficult profiling example

2006-12-02 Thread Serge D. Mechveliani
Dear GHC developers, dear users, I am starting to doubt in the GHC time profiling. Why can advise, please, on the following example? This is important for me: I need to find who eats time in this particular example. This is for ghc-6.6. I `make' my large program (of many modules) via Cabal,

Re: Re: OpengGL lockup using GHC 6.6 on Intel Mac

2006-12-02 Thread Joe Jones
Yep, that works well. Thanx! On 12/1/06, Deborah Goldsmith [EMAIL PROTECTED] wrote: I can get this to work if I compile it with ghc, rather than try to run it with ghci or hugs. ghc --make Alpha3D.hs ./Alpha3D works fine with no hangs. Deborah On Dec 1, 2006, at 6:49 PM, Deborah Goldsmith

RE: bang patterns give fundamentally new capabilities?

2006-12-02 Thread Simon Peyton-Jones
| I was recently presented with the problem of writing a function like so | | seqInt__ :: forall a . a - Int# - Int# | seqInt__ x y = x `seq` y | | which seems fine, except 'seq' of type forall a b . a - b - b cannot | be applied to an unboxed value. Actually it works fine. Did you try it? Seq

Building GHC quickly

2006-12-02 Thread Donald Bruce Stewart
Had a go today building GHC on a multcore linux box, with -j, just to see how fast it would go. Summary: you can build GHC from scratch in less than 10 minutes these days! More details here: http://cgi.cse.unsw.edu.au/~dons/blog/2006/12/03#build_ghc_fast -- Don