Re: How to describe this bug?

2012-07-11 Thread Christian Maeder
Hi, I think this bug is serious and should be turned into a ticket on http://hackage.haskell.org/trac/ghc/ Would you do so Sönke? The abstraction of floats (Float or Double) is broken if equality considers (random and invisible) excess bits that are not part of the ordinary sign, exponent

Re: How to describe this bug?

2012-07-11 Thread Simon Marlow
On 11/07/2012 08:36, Christian Maeder wrote: Hi, I think this bug is serious and should be turned into a ticket on http://hackage.haskell.org/trac/ghc/ Would you do so Sönke? The abstraction of floats (Float or Double) is broken if equality considers (random and invisible) excess bits that are

Re: [Fwd: Memory corruption issues when using newAlignedPinnedByteArray, GC kicking in?]

2012-07-11 Thread Simon Marlow
On 10/07/2012 23:03, Nicolas Trangez wrote: All, I sent this mail to Haskell Cafe earlier today, and was pointed [1] at this list. As such... Any help/advice would be greatly appreciated! It looks like you're making a ForeignPtr from the Addr# or Ptr that points to the contents of the

Re: How to describe this bug?

2012-07-11 Thread Christian Maeder
Am 11.07.2012 10:25, schrieb Simon Marlow: On 11/07/2012 08:36, Christian Maeder wrote: Hi, I think this bug is serious and should be turned into a ticket on http://hackage.haskell.org/trac/ghc/ Would you do so Sönke? The abstraction of floats (Float or Double) is broken if equality considers

Re: How to describe this bug?

2012-07-11 Thread Simon Marlow
On 11/07/2012 09:51, Christian Maeder wrote: Am 11.07.2012 10:25, schrieb Simon Marlow: On 11/07/2012 08:36, Christian Maeder wrote: Hi, I think this bug is serious and should be turned into a ticket on http://hackage.haskell.org/trac/ghc/ Would you do so Sönke? The abstraction of floats

Re: [Fwd: Memory corruption issues when using newAlignedPinnedByteArray, GC kicking in?]

2012-07-11 Thread Nicolas Trangez
On Wed, 2012-07-11 at 09:50 +0100, Simon Marlow wrote: On 10/07/2012 23:03, Nicolas Trangez wrote: All, I sent this mail to Haskell Cafe earlier today, and was pointed [1] at this list. As such... Any help/advice would be greatly appreciated! It looks like you're making a

Re: How to describe this bug?

2012-07-11 Thread Tyson Whitehead
On July 11, 2012 04:51:50 Christian Maeder wrote: Is it not enough to store floats into memory just before equality tests (or add rounding in the instance definitions of Float and Double in Eq and Ord)? You have to be 100% consistent in how you do every operations in all cases otherwise

Re: How to describe this bug?

2012-07-11 Thread Aleksey Khudyakov
On 11.07.2012 20:05, Tyson Whitehead wrote: On July 11, 2012 04:51:50 Christian Maeder wrote: Is it not enough to store floats into memory just before equality tests (or add rounding in the instance definitions of Float and Double in Eq and Ord)? You have to be 100% consistent in how you do

Re: Call to arms: lambda-case is stuck and needs your help

2012-07-11 Thread Iavor Diatchki
Hello, I am late to the discussion and this is not entirely on topic, for which I apologize, but I like the multi-branch case syntax someone mentioned earlier: Writing: case | p1 - e1 | p2 - e2 | ... desugars to: case () of _ | p1 - e2 | p2 - e2 | ... -Iavor PS: I

Re: GHC ARM builds?

2012-07-11 Thread Jens Petersen
ghc-7.4.2 should also build fine on Fedora 17 ARM. Just yum install ghc llvm first. I can provide a src rpm if it helps. Jens ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org