[Haskell-cafe] ghc 7.2.1 and super simple DPH

Peter Braam peter.braam at parsci.com
Mon Oct 3 14:34:14 CEST 2011


Super helpful, thanks!

Peter

On Mon, Oct 3, 2011 at 12:54 AM, Erik de Castro Lopo
<mle+hs at mega-nerd.com>wrote:

> 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/
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111003/dc4e0502/attachment.htm>


More information about the Haskell-Cafe mailing list