Re: Profiling makes FFI Marshalling of Doubles and Int64s fail

2004-09-15 Thread Roberto Zunino
Bayley, Alistair wrote: I've built a small test case. When I compile with: ghc Main.hs test.c -o Main.exe ... the (correct) output from Main.exe is: 123.0 5678901234567890 And when I compile with: ghc -prof Main.hs test.c -o Main.exe ... the (incorrect) output from Main.exe is: 1.0 986516178 I

Release candidate for 6.2.2 availabe

2004-09-15 Thread Simon Marlow
Hi folks, Release candidate distributions for 6.2.2 are now available. If you have the time, we'd really appreciate it if you could install and/or build one of these distributions and give us feedback. ghc-6.2.20040914 and later are 6.2.2 release candidates Please mention the exact version n

Re: Release candidate for 6.2.2 availabe

2004-09-15 Thread Donald Bruce Stewart
simonmar: > Hi folks, > > Release candidate distributions for 6.2.2 are now available. If you > have the time, we'd really appreciate it if you could install and/or > build one of these distributions and give us feedback. > >ghc-6.2.20040914 and later are 6.2.2 release candidates > > Please

URI Typeable & Data

2004-09-15 Thread Simon David Foster
Could we possibly have derived instances of Typeable and Data for Network.URI.URI in the 6.3 CVS please? -Si. ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

RE: Profiling makes FFI Marshalling of Doubles and Int64s fail

2004-09-15 Thread Bayley, Alistair
Thanks, including the header does fix it. I was lazy, as you can link quite easily against a DLL without having to provide a header; just the import decls suffice, plus -l and -L directives. I have had this problem (not using the -I directive) in a different guise, when trying to optimise. I've ad

RE: Profiling makes FFI Marshalling of Doubles and Int64s fail

2004-09-15 Thread Simon Marlow
On 15 September 2004 00:33, Roberto Zunino wrote: > However, compiling with > >ghc -prof Main.hs test.c -#include test.h > > or s/-prof/-fvia-C/, works fine, provided test.h contains the correct > function prototypes. > > -- test.h > long long myInt64(void); > double myDouble(void); > -

RE: linker errors

2004-09-15 Thread Frank-Andre Riess
> The compiler has generated intermediate code which uses a 77-tuple, but > unfortunately the libraries don't contain code for 77-tuples (we only go > up to 62-tuples). > > This is kind of a known bug, occasionally tickled by Happy-generated > parsers. > > If you're not generating your parser with

Re: [Haskell] arrows

2004-09-15 Thread ross
On Wed, Sep 15, 2004 at 03:38:43PM +0200, Sebastian Boldt wrote: > I am a bit confused about command stacks. I tried to run the following > code in ghc: > > mshowA :: (Arrow a, Show b) => a (b, String) String > mshowA = proc (x,s) -> returnA -< s ++ show x ++ s > > f :: Arrow a => a Int String >

problem building for cygwin

2004-09-15 Thread Beni Kavanagh
Hi I'm trying to build for cygwin. >From a clean windows box I Installed cygwin to c:/cygwin Added c:/cygwin/bin to path Installed MSys and MinGW in c:/msys and c:/mingw (did not add path) Installed ghc to c:/ghc/ghc-6.2.1 Untarred source to c:/ghc/ghc-6.2.1(same dir) Copied perl from ghc

Re: Release candidate for 6.2.2 availabe

2004-09-15 Thread Adrian Hey
Hello, I thought we were going to get a new FFI function soon.. http://www.haskell.org/pipermail/ffi/2004-March/001740.html AFAICS it isn't in the libs for this release :-( Has this got lost or forgotten about? Regards -- Adrian Hey ___ Glasgow-hask