RE: STG to JavaScript translation

2007-09-20 Thread Simon Peyton-Jones
| For example: | | f = |let g = (THUNK h x) |in (CONS g y) | | Is this exactly the same as (right variant following the paper) | | f = |let g = (THUNK h x) |in let freshvar = (CONS g y) |in freshvar Yes that's right. The only problem with the latter is that it's

Re: combination not supported: Threaded/Profiling when building NDP library

2007-09-20 Thread shelarcy
Hello Ben, On Tue, 18 Sep 2007 18:21:35 +0900, Ben Gaster [EMAIL PROTECTED] wrote: Having read the papers on Nested Data Parallelism in the Haskell I wanted to play around with the de-sugared implementation in the GHC library NDP. I have built GHC from source, on RHE5, and then installed the

RE: combination not supported: Threaded/Profiling when building NDP library

2007-09-20 Thread Ben Gaster
H Shelarcy, Thanks for your reply. I have removed the -threaded when building the library and now everything builds correctly and the examples are all working. However, I would like to explore porting the library to use a small FFI library which will allow exporting flattened data parallel

Re: GHC 6.8.1 RC debugger only breaking on first evaluation of a function

2007-09-20 Thread Olivier Boudry
The touch and reload option works but breakpoints are lost in the reload. For the moment putting the instructions in a script seems to be the simplest solution. Thanks for all inputs, Olivier. ___ Glasgow-haskell-users mailing list