Re: equivalent of EXPLAIN PLAN with GHC?

2009-08-03 Thread Joshua Haberman
Don Stewart dons at galois.com writes: joshua: Is there any kind of intermediate form that a person can examine to see how their code is being optimized? Anything like EXPLAIN PLAN in SQL? It would make it much easier to understand the kinds of optimizations Haskell can perform. I'm

Current GHC core documentation.

2009-08-03 Thread Richard Kelsall
This page http://www.haskell.org/ghc/documentation.html has a link to the September 2001 (Draft for GHC 5.02) document describing GHC Core (in what is for me user-hostile .ps.gz format.) And this page http://www.haskell.org/ghc/docs/latest/html/users_guide/ext-core.html promises an easier

Re: Compiling large source files

2009-08-03 Thread Thomas DuBuisson
Can you define very large and compiler? I know an old version of GHC (6.6?) would eat lots of memory when there were absurd numbers of let statements. Thomas 2009/8/3 Günther Schmidt red...@fedoms.com: Hi all, I'm having trouble compiling very large source files, the compiler eats 2GB and

Re: Compiling large source files

2009-08-03 Thread Günther Schmidt
Hi Thomas, yes, a source file with a single literal list with 85k elements. Günther Am 03.08.2009, 22:20 Uhr, schrieb Thomas DuBuisson thomas.dubuis...@gmail.com: Can you define very large and compiler? I know an old version of GHC (6.6?) would eat lots of memory when there were absurd

Re: Compiling large source files

2009-08-03 Thread Günther Schmidt
Hi Thomas, sry, the compiler is ghc-6.10.3 Günther ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: Current GHC core documentation.

2009-08-03 Thread Tim Chevalier
On 8/3/09, Richard Kelsall r.kels...@millstream.com wrote: This page http://www.haskell.org/ghc/documentation.html has a link to the September 2001 (Draft for GHC 5.02) document describing GHC Core (in what is for me user-hostile .ps.gz format.) And this page