Re: GHC infinite loop when building vector program

2011-10-12 Thread Bas van Dijk
Thanks Daniel for confirming this. I suspect this is caused by some rewrite rules in vector. So I reported it in their issue-tracker: http://trac.haskell.org/vector/ticket/63 Regards, Bas ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@h

Re: GHC infinite loop when building vector program

2011-10-11 Thread Daniel Fischer
On Tuesday 11 October 2011, 21:11:30, Bas van Dijk wrote: > Hello, > > When benchmarking my new vector-bytestring[1] package I discovered > that building the following program causes GHC to go into, what seems > to be, an infinite loop: > > > I use vector-0.9 and ghc-7.2.1. Replicated with vec

Re: GHC infinite loop when building vector program

2011-10-11 Thread Bas van Dijk
On 11 October 2011 21:11, Bas van Dijk wrote: > Note that the program also builds fine when I change the 'f' and 'z' to: > > f = flip (:) > z = [] > Oops, I meant to say: Note that the program also builds fine when I change the 'f' and 'z' to: f = (+) z = 0