Re: Broken ghc-7.0.3/vector combination?

2011-04-20 Thread Daniel Fischer
On Wednesday 20 April 2011 21:55:51, Dan Doel wrote: > > It's not a statistics bug. I'm reproducing it here using just > vector-algorithms. Yep. Attached a simple testcasewhich reproduces it and uses only vector and vector-algorithms. > > Fill a vector of size N with [N..1], and (intro) sort i

Re: Broken ghc-7.0.3/vector combination?

2011-04-20 Thread Dan Doel
On Wed, Apr 20, 2011 at 3:01 PM, Daniel Fischer wrote: > I'm sure it's not criterion, because after I've found that NaNs were > introduced to the resamples vectors during sorting (check the entire > vectors for NaNs before and aftersorting, tracing the count; before: 0, > afterwards often quite a

Re: Broken ghc-7.0.3/vector combination?

2011-04-20 Thread Daniel Fischer
On Wednesday 20 April 2011 20:25:34, Bryan O'Sullivan wrote: > On Wed, Apr 20, 2011 at 10:44 AM, Daniel Fischer < > > daniel.is.fisc...@googlemail.com> wrote: > > I'll prepare a bundle, I'm afraid it won't be small, though. And it > > might be architecture dependent, so I can't guarantee that you

Re: Broken ghc-7.0.3/vector combination?

2011-04-20 Thread Bryan O'Sullivan
On Wed, Apr 20, 2011 at 10:44 AM, Daniel Fischer < daniel.is.fisc...@googlemail.com> wrote: > I'll prepare a bundle, I'm afraid it won't be small, though. And it might > be architecture dependent, so I can't guarantee that you will be able to > reproduce it. But Bryan said on IRC yesterday that ot

Re: Broken ghc-7.0.3/vector combination?

2011-04-20 Thread Daniel Fischer
On Wednesday 20 April 2011 19:11:07, Roman Leshchinskiy wrote: > Daniel Fischer wrote: > > Further investigation of the sorting code in vector-algorithms > > revealed no bugs there, and if the runtime was forced to keep a keen > > eye on the indices, by replacing unsafeRead/Write/Swap with their >

Re: Broken ghc-7.0.3/vector combination?

2011-04-20 Thread Ian Lynagh
On Wed, Apr 20, 2011 at 05:02:50PM +0200, Daniel Fischer wrote: > > So, is it possible that some change in ghc-7.0.3 vs. the previous versions Very little changed between 7.0.2 and 7.0.3. The only thing that jumps out to me as possibly being relevant is: diff -ur 7.0.2/ghc-7.0.2/compiler/native

Re: Broken ghc-7.0.3/vector combination?

2011-04-20 Thread Roman Leshchinskiy
Daniel Fischer wrote: > > Further investigation of the sorting code in vector-algorithms revealed > no bugs there, and if the runtime was forced to keep a keen eye on the > indices, by replacing unsafeRead/Write/Swap with their bounds-checked > counterparts or by 'trace'ing enough of their uses, th

Broken ghc-7.0.3/vector combination?

2011-04-20 Thread Daniel Fischer
Investigating the appearance of NaN in criterion's output, I found that NaNs were frequently introduced into the resample vectors when the resamples were sorted. Further investigation of the sorting code in vector-algorithms revealed no bugs there, and if the runtime was forced to keep a keen e

Type-level operators

2011-04-20 Thread Stefan Holdermans
Simon, Regarding the note you attached to the Trac ticket on the pretty-printing of kind ascriptions (http://hackage.haskell.org/trac/ghc/ticket/5141#comment:2): > Note, though, that it's likely that we're considering making operators > like '*' into type ''constructors'' rather that type ''vari

RE: Installation

2011-04-20 Thread Luca Ciciriello
Yes, that is the folder to delete to start with a clean installation. Thanks. Luca. Subject: Re: Installation From: d...@rice.edu Date: Wed, 20 Apr 2011 07:36:16 -0500 CC: glasgow-haskell-users@haskell.org To: luca_cicirie...@hotmail.com Perhaps the /Users/MyUser/.ghc folder is causing y

Re: Installation

2011-04-20 Thread David Peixotto
Perhaps the /Users/MyUser/.ghc folder is causing your problem? On Apr 20, 2011, at 2:33 AM, Luca Ciciriello wrote: > Hi All. > I'm using GHC with MacOS X 10.6.7 (Xcode4). I've installed GHC 7.0.3 and the > HackageDB package hsgsom. Then, for my motivation, I've uninstalled GHC. > To remove GHC I

Re: GHC/LLDB integration

2011-04-20 Thread Simon Marlow
On 18/04/2011 18:50, William Knop wrote: Hello all, I've been using LLDB for a few weeks now, initially acquainting myself with its python bindings. It occurred to me early on that they might integrate into GHC's testsuite well, so I began writing a driver. The idea was to encapsulate the launche

Re: GHC/LLDB integration

2011-04-20 Thread Edward Z. Yang
Hello William, You can find "the state of the art" (which isn't very advanced :-) in debugging GHC compiled code with GDB here: http://hackage.haskell.org/trac/ghc/wiki/Debugging/CompiledCode Maybe others can give more specific advice. Cheers, Edward Excerpts from William Knop's message of

Installation

2011-04-20 Thread Luca Ciciriello
Hi All.I'm using GHC with MacOS X 10.6.7 (Xcode4). I've installed GHC 7.0.3 and the HackageDB package hsgsom. Then, for my motivation, I've uninstalled GHC.To remove GHC I've used the uninstaller tool and I've manually removed the folder /Library/Frameworks/GHC.framework. I've also manually rem