HaXml 1.12 - HXmlToolbox 4.01 incompatibility?

2004-08-30 Thread Jan Scheffczyk
Hi all, I try to use HaXml and HXmlToolbox together with GHC 6.2.1. I am, however, a bit confused since some versions seem to influence each other. So far I tried: HaXml 1.11 + HXmlToolbox 4.01 and HaXml 1.12 + HXmlToolbox 4.01. While HaXml 1.11 appears to work fine with HXmlToolbox 4.01, I

Why is partition no good list producer?

2004-02-25 Thread Jan Scheffczyk
Hi all, I'm about to optimize a fairly large Haskell program, which uses partition quite often (and a fold immediately afterwards). The GHC User guide section about RULE pragmas says that filter is a good producer, whereas partition is not mentioned (therefore, I assume it is not). I put a

let vs. where [was: Re: more unsafePerformIO questions (is it safe to use with ReadMode Handles)?]

2003-08-19 Thread Jan Scheffczyk
Hi Andrew, let x = expensiveComputation foo in x + x I would certainly hope that expensiveComputation wasn't called twice, and even though the language doesn't guarantee it, I have already written code that assumed it. I always thought that there is a tiny difference between let and

ghc-6.0.1 --make -O (linking errors)

2003-07-31 Thread Jan Scheffczyk
Hi all, I recently switched to ghc 6.0.1 running on a debian linux box. When compiling a program using ghc --make -O or ghc --make -O2 I get lots of errors while linking. The linker concerns about undefined references to Data.FiniteMap, which I frequently use. For example, the linker says:

Re: ghc-6.0.1 --make -O (linking errors)

2003-07-31 Thread Jan Scheffczyk
Hi Ian, If you are not already using them then you could try the debs from the Haskell Experimental repository. Both stable and unstable debs are available (unfortunately they are awaiting manual intervention before going into the Debian archive as there are a couple of new package names):

Re: can't manage to compile ghc6

2003-05-31 Thread Jan Scheffczyk
Hi Simon, On Friday 30 May 2003 16:42, Simon Marlow wrote: I'm having trouble compiling ghc6. Are you using GCC 3.3 by any chance? At least for me, this seemed to cause compiling errors, gcc 3.2 works. However, there seems to be a problem with HaXml and GHCi. I installed HaXml 1.08 newly