
Bardur, -----Oorspronkelijk bericht----- Van: Haskell-Cafe [mailto:haskell-cafe-bounces@haskell.org] Namens Bardur Arantsson Verzonden: zaterdag 7 maart 2015 19:26 Aan: haskell-cafe@haskell.org Onderwerp: Re: [Haskell-cafe] ghc -O2 out of memory On 07-03-2015 16:56, Kees Bleijenberg wrote:
I've written a program that reads a Excel file, parses the contents and generates a haskell module. Every cell in the xls has it's own function in the module. This worked fine.
<snip> Just out of curiousity, are you adding explicit type annotations? I imagine that type inference (rather than just checking) would add considerable overhead in pathological cases, especially if GHC is using a SAT-solver based approach (which I believe it is, these days). ---------------- Yes. Every cell is a top level function with a type annotation. All cells have the same type. I was afraid that splitting the module doesn't help. Kees _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe