On Wed, 2010-03-10 at 11:22 +0100, Alp Mestanogullari wrote:
> This something you are afaik able to do.
>
>
> I'm cc'ing David (qthaskell's author).
>
Thanks for the reply. I've worked it out.
The below code demonstrates getting and setting a property from a marble
widget.
I'm a little surp
Hi,
I know this isn't a qtHaskell list, but I don't think there is one.
Was wondering if anyone has any ideas on the below.
Basically I'm trying to control a Marble (Map software) Qt widget from
qtHaskell.
So I've mocked up a very simple user interface in Qt Designer (1 form, 1
Marble widget).
> If you still have trouble, then try using ThreadScope
>
> http://code.haskell.org/ThreadScope/
>
> with GHC 6.12.1. You can use ThreadScope directly from the darcs
> repository on code.haskell.org, and we hope to do a proper release soon.
>
> Cheers,
> Simon
Thanks for the advice,
> -- Prepare to share work to be
> -- done across available cores
> chunkOnCpu :: [a] -> [[a]]
> chunkOnCpu xs = chunk (length xs `div` numCapabilities) xs
>
> -- Spark a fold of each chunk and
> -- sum the results. Only works because
> -- for associative folds.
> foldChunks :: ([a] -> a) -> (a
On Sat, 2009-12-12 at 13:46 +, Ben Millwood wrote:
> On Sat, Dec 12, 2009 at 10:08 AM, Maciej Piechotka
> wrote:
> > If operation is associative it can be done using divide et impera
> > spliting list in half and operating on it pararerlly then split in half
> > etc.
>
Thank you very much fo
Hi,
Can anyone put me right here. I am trying to use a setup similar to
parMap to spark each valuation in a list in parallel, where the
resulting (evaluated) list is folded to produce a final single result.
Having done the obligatory google, I modified a few common examples to
give:
pfoldl f ac