You are right, my mistake, but this don't solve my problem :-)))

Luca
On Aug 10, 2011, at 5:37 PM, Colin Adams wrote:

You don't import packages, you import modules.

On 10 August 2011 16:29, Luca Ciciriello <luca_ciciriello@hotmail.com> wrote:
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@haskell.org
http://www.haskell.org/mailman/listinfo/beginners



_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners




_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners