[Haskell-cafe] DPH and GHC 7.0.1

Manuel M T Chakravarty chak at cse.unsw.edu.au
Sun Nov 28 21:29:37 EST 2010


Andrew Coppin:
> On 19/11/2010 11:39 PM, David Peixotto wrote:
>> There were some problems getting DPH to work well with the changes in GHC 7. There is more info in this mail:
>> 
>> http://www.haskell.org/pipermail/cvs-ghc/2010-November/057574.html
>> 
>> The short summary is that there will be a patch level release of GHC (7.0.2) that works well with DPH and the DPH packages will then be available for installation from Hackage.
>> 
>> If you want to play with DPH now you can do so on GHC HEAD.
>> 
>> -David
> 
> I was wondering about this myself, actually. I'm especially surprised since I thought the DPH implementation was hard-wired into the compilter itself (in which case, how can you distribute it seperately?)
> 
> Then again, I've never yet even tried using DPH. (The wiki page looks very out of date, so I don't know how much to trust its information.)

As David said, we will release the DPH libraries separately, but at the same time as GHC 7.0.2.  DPH consists essentially of two components (a) the vectoriser, a program transformer hardwired into GHC and (b) the DPH libraries.  At the request of the Haskell Platform people we separated the DPH library packages from the standard GHC distribution and will distribute them via Hackage.

The wiki page will be updated in time for that release.

Manuel

PS: We didn't release DPH with GHC 7.0.1 as we still had bugs to fix from recent major changes at the time of the 7.0.1 release and didn't want to hold up the GHC release.


More information about the Haskell-Cafe mailing list