[Haskell-cafe] Nofib documentation
Hi all. does anyone know where can I find a better documentation for Nofib benchmark? Is there any reference which contains the standard and slow inputs? In the CVS tree I just found the standard/slow/fast outputs. Thanks in advance,-- Monique Louise B.MonteiroMsc Student in Computer ScienceCenter of InformaticsFederal University of Pernambuco ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] O'Haskell
Is there any project for extending GHC or any other Haskell compiler with support to O'Haskell / any object-oriented Haskell extesion? That could be very useful for improving Haskell interoperability with OO languages. Thanks in advance, Monique Monteiro -- Monique Louise B.Monteiro Msc Student in Computer Science Center of Informatics Federal University of Pernambuco ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] How to debug GHC
Hi, all, I'm developing a back end for GHC and I have the following problem: my program is throwing an empty list exception due to head [] and I need to compile GHC with -prof -auto-all in order to see the stack trace when running it with +RTS -xc -RTS. I changed the makefile but the option +RTS -xc -RTS was not recognized as an available RTS option Does anyone have any idea about how I can do that ? Thanks in advance, -- Monique Louise B.Monteiro Msc Student in Computer Science Center of Informatics Federal University of Pernambuco ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] How to debug GHC
Thanks, Ketil, your suggestion really helped me ! Thanks to Claus for the tips ! On 4/26/05, Ketil Malde [EMAIL PROTECTED] wrote: Claus Reinke [EMAIL PROTECTED] writes: no direct answer to your question, but a general comment on the original problem (speaking from bad experience;-): things like head have no place in a Haskell program of any non-trivial size, because of their useless error messages. I must say I liked John Meacham's description of his magic underscore. My solution to this problem is redefining the troublesome functions as cpp macros, e.g: #define BUG(C_,M_) (error (Program error - '++C_++' failed: ++M_++. Location: '++__FILE__++' line ++show __LINE__)) #define head (\xs - case xs of { (x:_) - x ; _ - BUG(head,empty list)}) Ideally, I think something like this should be the default behavior for these functions. -kzm PS: If anybody wants, I can mail my additional cpp definitions for 'head', 'at' (array indexing, I couldn't work out how to redefine the bang), 'read' and 'fromJust'. -- If I haven't seen further, it is by standing in the footprints of giants -- Monique Louise B.Monteiro Msc Student in Computer Science Center of Informatics Federal University of Pernambuco ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] How to debug GHC
Hi, all, I'm developing a back end for GHC and I have the following problem: my program is throwing an empty list exception due to head [] and I need to compile GHC with -prof -auto-all in order to see the stack trace when running it with +RTS -xc -RTS. I changed the makefile but the option +RTS -xc -RTS was not recognized as an available RTS option Does anyone have any idea about how I can do that ? Thanks in advance, __ Monique Louise Monteiro Mestranda em Ciencia da Computacao Centro de Informatica - CIn - UFPE ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe