Super helpful, thanks!<div><br></div><div>Peter<br><br><div class="gmail_quote">On Mon, Oct 3, 2011 at 12:54 AM, Erik de Castro Lopo <span dir="ltr">&lt;<a href="mailto:mle%2Bhs@mega-nerd.com">mle+hs@mega-nerd.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Erik de Castro Lopo wrote:<br>
<br>
&gt; The code you posted had some wrapping issues and was missing an<br>
&gt; import.<br>
<br>
</div>I should have also mentioned how I figured out what the missing<br>
import was.<br>
<br>
Firstly, I tried hoogle [0] but couldn&#39;t find it. I then realised<br>
that it must be part of DPH and that I had a copy of the DPH sources<br>
on my machine. Going to the DPH source tree I did:<br>
<br>
  find . -name \*.hs | xargs grep ^fromPArrayP<br>
<br>
which showed up this:<br>
<br>
    dph-common/Data/Array/Parallel.hs:fromPArrayP :: PArray a -&gt; [:a:]<br>
<br>
Cheers,<br>
Erik<br>
<br>
[0] <a href="http://www.haskell.org/hoogle/" target="_blank">http://www.haskell.org/hoogle/</a><br>
<div class="im">--<br>
----------------------------------------------------------------------<br>
Erik de Castro Lopo<br>
<a href="http://www.mega-nerd.com/" target="_blank">http://www.mega-nerd.com/</a><br>
<br>
</div>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br></div>