Re: [Haskell-cafe] ghc 7.2.1 and super simple DPH

2011-10-03 Thread Peter Braam
Super helpful, thanks! Peter On Mon, Oct 3, 2011 at 12:54 AM, Erik de Castro Lopo 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

Re: [Haskell-cafe] ghc 7.2.1 and super simple DPH

2011-10-02 Thread Erik de Castro Lopo
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 o

Re: [Haskell-cafe] ghc 7.2.1 and super simple DPH

2011-10-02 Thread Erik de Castro Lopo
Peter Braam wrote: > Hi - > > I'm trying to compile DotP.hs from > http://www.haskell.org/haskellwiki/GHC/Data_Parallel_Haskell#A_simple_example > (see > below) > > The compiler complains and says (twice in fact): > > DotP.hs:17:33: Not in scope: `fromPArrayP' > > Could someone help me out ple

[Haskell-cafe] ghc 7.2.1 and super simple DPH

2011-10-02 Thread Peter Braam
Hi - I'm trying to compile DotP.hs from http://www.haskell.org/haskellwiki/GHC/Data_Parallel_Haskell#A_simple_example (see below) The compiler complains and says (twice in fact): DotP.hs:17:33: Not in scope: `fromPArrayP' Could someone help me out please? Thanks a lot! Peter {-# LANGUAGE Pa