Re: Can't install Criterion package on ghc ..

2010-04-14 Thread Dan Doel
On Wednesday 14 April 2010 1:07:05 pm Roman Leshchinskiy wrote: > On 15/04/2010, at 02:55, John Lato wrote: > > The problem isn't with criterion itself, but with vector-algorithms. > > The vector library relies heavily on type families, which have dodgy > > support in ghc-6.10. > > As a matter of

Re: FFI calls: is it possible to allocate a small memory block on a stack?

2010-04-14 Thread Simon Marlow
On 14/04/10 06:02, Denys Rtveliashvili wrote: Good morning, Yesterday I did a few tests to measure the performance of FFI calls and found that the calls themselves are very quick (1-2 nanosecond). However, there is a kind of FFI calls when one have to allocate a temporary memory block (for a str

Re: Using -fext-core without a Main function

2010-04-14 Thread Isaac Dupree
On 04/13/10 12:48, Max Bolingbroke wrote: The flag -fext-core is a red herring. GHC assumes any module with no "module" declaration is actually called Main and hence insists on a main declaration. ...or to be precise, it means module Main (main) where {...} ...and this is what the Haskell 98 st

Re: Can't install Criterion package on ghc ..

2010-04-14 Thread Mozhgan kabiri
On Wed, Apr 14, 2010 at 7:22 PM, Bryan O'Sullivan wrote: > On Wed, Apr 14, 2010 at 10:49 AM, Mozhgan kabiri > wrote: > >> >> Thanks for the replies .. I upgraded ghc to ghc 6.12 .. and installed >> Criterion through cabal .. There is another problem here which I really >> don't know if it is due

Re: testing 6.12.2-pre

2010-04-14 Thread Matthias Kilian
On Fri, Apr 09, 2010 at 05:48:17PM +0400, Serge D. Mechveliani wrote: > I have tested ghc-6.12.1.20100330 on Debian Linux, i386-family, > on the DoCon test, without profilig. > It looks all right. Even if I reported to Ian that everything is fine on OpenBSD, I just found some strangeness with o

Re: Can't install Criterion package on ghc ..

2010-04-14 Thread Bryan O'Sullivan
On Wed, Apr 14, 2010 at 10:49 AM, Mozhgan kabiri wrote: > > Thanks for the replies .. I upgraded ghc to ghc 6.12 .. and installed > Criterion through cabal .. There is another problem here which I really > don't know if it is due to the ghc version or the dependencies or my OS > version !!! > The

Re: Can't install Criterion package on ghc ..

2010-04-14 Thread Mozhgan kabiri
Hi, Thanks for the replies .. I upgraded ghc to ghc 6.12 .. and installed Criterion through cabal .. There is another problem here which I really don't know if it is due to the ghc version or the dependencies or my OS version !!! I installed Criterion package,libpng, gnuplot .. and lots of other

Re: Can't install Criterion package on ghc ..

2010-04-14 Thread Roman Leshchinskiy
On 15/04/2010, at 02:55, John Lato wrote: > The problem isn't with criterion itself, but with vector-algorithms. > The vector library relies heavily on type families, which have dodgy > support in ghc-6.10. As a matter of fact, this particular problem is easy to fix by adding a couple of type si

Re: Can't install Criterion package on ghc ..

2010-04-14 Thread John Lato
I'm not the original reporter, but I can confirm that I am able to install Criterion-0.5.0 with ghc-6.12.1 on OSX 10.6. One datum, anyway. The problem isn't with criterion itself, but with vector-algorithms. The vector library relies heavily on type families, which have dodgy support in ghc-6.10.

RE: Can't install Criterion package on ghc ..

2010-04-14 Thread Simon Peyton-Jones
Can you check? If it still happens with 6.12, please submit a bug report. If 6.10 can't compile criterion, you might want to add a constraint to the Cabal meta-data. Simon | -Original Message- | From: glasgow-haskell-users-boun...@haskell.org [mailto:glasgow-haskell- | users-boun...@has

Unicode alternative for '..' (ticket #3894)

2010-04-14 Thread Roel van Dijk
I'm a big fan of the UnicodeSyntax [1] language extension. But I don't particularly like the alternative for the ellipsis '..'. I'm not sure if it was a conscious choice or a mistake to use the '⋯' character. I haven't really encountered that symbol before except for matrices and the like [2]. Ther