[Haskell-beginners] Lang extension (almost solved)

Luca Ciciriello luca_ciciriello at hotmail.com
Wed Aug 10 17:29:21 CEST 2011


Yes, but in the release note of GHC 7.2.1 there is this sentence:
Most of GHC.PArr has been moved into the dph package. Only the [::] datatype remains.

My question is which are the packages to import to use dph?

Luca

On Aug 10, 2011, at 5:21 PM, Daniel Seidel wrote:

> On Wed, 2011-08-10 at 17:12 +0200, Luca Ciciriello wrote:
>> Ok, I've replaced {-# LANGUAGE PArr #-} with {-# LANGUAGE ParallelArrays #-}.
>> now my problem is that the compiler is unable to find "elemP" and "foldP"
>> Wich package have I to import?
> 
> Hayoo (http://holumbus.fh-wedel.de/hayoo/) says:
> 
> GHC.PArr.elemP:: a -> [:a:] -> Bool
> 
> Cheers,
> 
> Daniel.
> 
>> 
>> Luca.
>> 
>> On Aug 10, 2011, at 5:04 PM, Luca Ciciriello wrote:
>> 
>>> Hi All. 
>>> I've just installed GHC 7.2.1 And I've some problems with my old code.
>>> 
>>> To use the parallel List [: :] in my code I use {-# LANGUAGE PArr #-}. Now the new compiler tells me the the extension PArr is unsupported. If I remove {-# LANGUAGE PArr #-} the sinter [: compiled by GHC. Wich extension I've to use in order to built my code?
>>> 
>>> Thanks in Advance for any answer (I've installed GHC 7.2.1 on MacOS X Lion, Xcode 4.1)
>>> 
>>> Luca.
>>> 
>>> 
>>> _______________________________________________
>>> Beginners mailing list
>>> Beginners at haskell.org
>>> http://www.haskell.org/mailman/listinfo/beginners
>>> 
>> 
>> 
>> _______________________________________________
>> Beginners mailing list
>> Beginners at haskell.org
>> http://www.haskell.org/mailman/listinfo/beginners
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110810/e6f32676/attachment.htm>


More information about the Beginners mailing list