Re: GHC hang

2005-06-06 Thread Robert van Herk
John Goerzen wrote: On 2005-06-06, Simon Peyton-Jones <[EMAIL PROTECTED]> wrote: Lots of people seem to have had problems compiling Wash with GHC 6.4. Another person told me, perhaps in private, that it just takes GHC 15 minutes to compile the specific file in question on amd64. It t

Re: GHC hang

2005-06-06 Thread John Goerzen
On 2005-06-06, Simon Peyton-Jones <[EMAIL PROTECTED]> wrote: > Lots of people seem to have had problems compiling Wash with GHC 6.4. Another person told me, perhaps in private, that it just takes GHC 15 minutes to compile the specific file in question on amd64. It turns out that there is not a ha

ANN: Wash for GHC 6.4, Cabalized

2005-06-06 Thread John Goerzen
Hello, I have made an, as far as I can tell, working copy of WASH for GHC 6.4. You can get it with: darcs get http://darcs.complete.org/local-branches/WashNGo Here are the basic things I did: * Applied the GHC 6.4 compatibility patch I found on one of these lists * Converted the build system

ghc-pkg, recompilation check

2005-06-06 Thread Serge D. Mechveliani
Dear GHC developers and users, Could you, please, help with ghc-pkg ? (in ghc-6.4) The contrived testing project is of the two small modules M1.hs, M2.hs. (find enclosed the source). `Makefile' is set so that make dm should compile the modules and put *.hi, *.o modules and .a, .o li

RE: recompilation check in 6.4

2005-06-06 Thread Simon Marlow
Hi Serge, On 05 June 2005 11:58, Serge D. Mechveliani wrote: > for the first time compiles all the modules before Foo in > 50 seconds. > Then, I fix an error in Foo.hs and repeat "make dm". > > The options are set so that ghc-6.2.2 gets to Foo.hs in less > than 1 second when doing thi

RE: Int64 and efficiency

2005-06-06 Thread Simon Marlow
On 06 June 2005 12:44, Ketil Malde wrote: > Recently, Marcin 'Qrczak' Kowalczyk posted a micro-benchmark on > comp.lang.functional, illustrating performance with statically typed > Int and Integer, and Kogut's dynamically typed automatically-promoted > numbers. (Int is fastest, Kogut second, and

Int64 and efficiency

2005-06-06 Thread Ketil Malde
Hi, Recently, Marcin 'Qrczak' Kowalczyk posted a micro-benchmark on comp.lang.functional, illustrating performance with statically typed Int and Integer, and Kogut's dynamically typed automatically-promoted numbers. (Int is fastest, Kogut second, and Integer quite a bit slower). For fun, I tri

Re: qualified re-export of Data.Set

2005-06-06 Thread Duncan Coutts
On Mon, 2005-06-06 at 15:18 +0400, Serge D. Mechveliani wrote: > Dear GHC developers, > > Please, how to re-export (qualified) Data.Set, Data.Map ? [snip] > For ghc-6.4, I need qualified import of Data.Set, Data.Map > and need to re-export it. I am trying [snip] > I wonder, how the needed

RE: GHC hang

2005-06-06 Thread Simon Peyton-Jones
Lots of people seem to have had problems compiling Wash with GHC 6.4. As far as we know, they are all caused by the fact that the package-configuration file format changed in 6.4, and you need to fix that before it'll compile cleanly. Maybe someone can make available a version of Wash that works,

qualified re-export of Data.Set

2005-06-06 Thread Serge D. Mechveliani
Dear GHC developers, Please, how to re-export (qualified) Data.Set, Data.Map ? In ghc-6.2.2, I used only --- {-# OPTIONS -fno-warn-duplicate-exports #-} module Reexport (module Data.Set, ...) ... import Data.Set --- module

RE: FFI questions

2005-06-06 Thread Simon Marlow
On 06 June 2005 09:04, Gary Morris wrote: > --- begin: AccuTime.hs > > module AccuTime where > > import Foreign.C.Types > > foreign import stdcall unsafe "accutime.h accuticks" c_accuticks :: > IO CULLong > > accuticks :: IO Integer > accuticks = do ull <- c_accuticks >return

FFI questions

2005-06-06 Thread Gary Morris
Hello everyone, Apologies in advance if I'm asking an incredibly simple question, but I'm using GHC 6.4 on Windows XP SP2. I was recently playing with implementing the Kocher attack on RSA in Haskell, and along the way I needed a reasonable way to time operations -- the built-in Windows function