
3 Oct
2011
3 Oct
'11
2:54 a.m.
Erik de Castro Lopo wrote:
The code you posted had some wrapping issues and was missing an import.
I should have also mentioned how I figured out what the missing import was. Firstly, I tried hoogle [0] but couldn't find it. I then realised that it must be part of DPH and that I had a copy of the DPH sources on my machine. Going to the DPH source tree I did: find . -name \*.hs | xargs grep ^fromPArrayP which showed up this: dph-common/Data/Array/Parallel.hs:fromPArrayP :: PArray a -> [:a:] Cheers, Erik [0] http://www.haskell.org/hoogle/ -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/