[Haskell-beginners] Lang extension (almost solved)

David McBride dmcbride at neondsl.com
Wed Aug 10 17:48:40 CEST 2011


I'm sorry, disregard.  I have no idea what that new version of ghc
requires.  If there is a dph package I don't see it on hackage.

On Wed, Aug 10, 2011 at 11:46 AM, David McBride <dmcbride at neondsl.com> wrote:
> import GHC.PArr as the other guy said.  That is where all the
> functions are located.  It is part of base, and every haskell
> installation already has base in it.
>
> If you need to find out where functions are, go to hackage and click
> on hayoo and look them up.
>
> On Wed, Aug 10, 2011 at 11:42 AM, Luca Ciciriello
> <luca_ciciriello at hotmail.com> wrote:
>> 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 at 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 at haskell.org
>>>
>>> http://www.haskell.org/mailman/listinfo/beginners
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> 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
>>>
>>
>>
>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners at haskell.org
>> http://www.haskell.org/mailman/listinfo/beginners
>>
>>
>



More information about the Beginners mailing list