Re: ghc --make-parallel ?

2007-10-18 Thread Duncan Coutts
On Thu, 2007-10-18 at 13:19 +0200, Johannes Waldmann wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Can ghc execute compilations in parallel? > (With GNU make, I'd say "make -j 2" > but how to achieve this with "ghc --make" ?) We're also going to try and solve this in Cabal by havi

Re: type families not advertised for 6.8

2007-10-18 Thread Remi Turk
On Thu, Oct 18, 2007 at 02:58:21AM +0100, Simon Peyton-Jones wrote: > | > Absolutely not; quite the reverse. It means that some of the *code* for > | type functions happens to be in the 6.8 release --- but that code has bugs. > | It's only in 6.8 for our convenience (to avoid too great a divergenc

Re: ANNOUNCE: GHC 6.8.1 Second Release Candidate

2007-10-18 Thread Isaac Dupree
Claus Reinke wrote: - people submit bugreports because they hope something is done about them often. Sometimes I submit a bugreport to make sure the issue isn't completely forgotten, not because it's an important issue to me. (not really disagreeing, just saying) Isaac __

Re: Command Line Arguments

2007-10-18 Thread Neil Mitchell
Hi > So that's part of the Haskell98 standard? In the Haskell98 standard it can be imported from System, rather than System.Environment. Nowadays all compilers can use either. > Nice! So, is it usual for compilers to implement extensions to the > standard? If yes, where can I find the documentat

Re: Command Line Arguments

2007-10-18 Thread Paulo J. Matos
On 18/10/2007, Neil Mitchell <[EMAIL PROTECTED]> wrote: > Hi > > > As an Haskell beginner, and considering this may be compiler > > dependent, I shall ask it on this list. > > It's standard across all implementations. > So that's part of the Haskell98 standard? Nice! So, is it usual for compilers

Re: Command Line Arguments

2007-10-18 Thread Neil Mitchell
Hi > As an Haskell beginner, and considering this may be compiler > dependent, I shall ask it on this list. It's standard across all implementations. > How can I access command line arguments from my main function in my Main > module? import System.Environment main = do args <- getArgs

Command Line Arguments

2007-10-18 Thread Paulo J. Matos
As an Haskell beginner, and considering this may be compiler dependent, I shall ask it on this list. How can I access command line arguments from my main function in my Main module? Cheers, -- Paulo Jorge Matos - pocm at soton.ac.uk http://www.personal.soton.ac.uk/pocm PhD Student @ ECS Univers

RE: Why only inference in type checking?

2007-10-18 Thread Simon Peyton-Jones
| For actual arguments of f, there is no issue whatsoever with | decidability. The type checker in my brain uses unification, i.e. | top-down. The type checker in GHC uses inference, i.e. bottom-up. Why | inference potentially suffers from non-termination for this program, I | understand. Actually

Re: ANNOUNCE: GHC 6.8.1 Second Release Candidate

2007-10-18 Thread Claus Reinke
| - the list of outstanding issues for 6.8 branch is suspiciously long. has | this been reviewed in detail? Good point, Claus. Lots of people are using GHC for lots of things. This is a nice problem to have! But it does lead to lots of bug reports. We have limited resources, so we have

Re: ghc --make-parallel ?

2007-10-18 Thread Simon Marlow
Johannes Waldmann wrote: Can ghc execute compilations in parallel? (With GNU make, I'd say "make -j 2" but how to achieve this with "ghc --make" ?) Sorry, not at the moment. We implemented a hacky version of it for our Haskell Workshop '05 paper: http://haskell.org/~simonmar/bib/multiproc

Prevent optimization from tempering with unsafePerformIO

2007-10-18 Thread Bernd Brassel
Hello to all who have given me hints an suggestions about this topic whether directly by mail or over the mailing list. I do now have a much more concrete idea of how to optimize my programs. Thanks for your time! Bernd ___ Glasgow-haskell-users mailing

ghc --make-parallel ?

2007-10-18 Thread Johannes Waldmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can ghc execute compilations in parallel? (With GNU make, I'd say "make -j 2" but how to achieve this with "ghc --make" ?) Thanks - J. Waldmann. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with Mozilla -

Why only inference in type checking?

2007-10-18 Thread Philip K . F . Hölzenspies
Dear All, A while ago, I had trouble understanding the coverage condition and I raised a question on this mailing list. Help was swift and adequate, especially the reference to the paper entitled "Understanding Functional Dependencies via Constraint Handling Rules" was very useful. However, havin

Re: 6.8.1-candidate tested

2007-10-18 Thread Serge D. Mechveliani
On Thu, Oct 18, 2007 at 11:33:52AM +0100, Simon Marlow wrote: > Serge D. Mechveliani wrote: > >Dear GHC developers, > > > >I have tested ghc-6.8.0.20071015-src.tar.bz2 on DoCon and on > >Dumatel. > >It looks all right > > > >(except the bug-candidate for -O which is common to all GHC versions

Re: 6.8.1-candidate tested

2007-10-18 Thread Simon Marlow
Serge D. Mechveliani wrote: Dear GHC developers, I have tested ghc-6.8.0.20071015-src.tar.bz2 on DoCon and on Dumatel. It looks all right (except the bug-candidate for -O which is common to all GHC versions and which I recently reported ). On DoCon, ghc-6.8.0.20071015 1) builds the pr

RE: ANNOUNCE: GHC 6.8.1 Second Release Candidate

2007-10-18 Thread Simon Peyton-Jones
| - the list of outstanding issues for 6.8 branch is suspiciously long. has | this been reviewed in detail? Good point, Claus. Lots of people are using GHC for lots of things. This is a nice problem to have! But it does lead to lots of bug reports. We have limited resources, so we have t

6.8.1-candidate tested

2007-10-18 Thread Serge D. Mechveliani
Dear GHC developers, I have tested ghc-6.8.0.20071015-src.tar.bz2 on DoCon and on Dumatel. It looks all right (except the bug-candidate for -O which is common to all GHC versions and which I recently reported ). On DoCon, ghc-6.8.0.20071015 1) builds the project 2-3 times faster than gh

-O bug?

2007-10-18 Thread Serge D. Mechveliani
Dear GHC developers, The point (1) below looks like a bug (in all GHC versions!). (1) -O for demo-test. Take (the public) docon-2.10 build it under -O, install, and build also under -O its test program by cd demotest ghc $doconCpOpt -O --make Main Either the latter compilation wi