Manuel M T Chakravarty wrote:
> Roman Leshchinskiy:
>
>> Do you mean that GHC now assumes -fdph-par even if DPH isn't used? That
>> doesn't seem right to me. I know we said that it should be the default
>> but I assumed the defaulting would only happen for modules with -XPArr
>> (or
>> whatever the extension is called now) and perhaps -fvectorise. Modules
>> which don't have either shouldn't be able to implicitly depend on DPH,
>> IMO.
>>
>
> I would like that, too. (In fact, it is what I implemented at first.)
> Unfortunately, it doesn't work. Language options are dynamic options,
> but -package is a weird intermediate between static and dynamic. Hence,
> if you put ParallelArrays (as it is now called) into a LANGUAGE pragma,
> you won't get -fdph-par.
But the -fdph-* flags themselves are dynamic. Is it the case that putting
{-# OPTIONS_GHC -fdph-par #-} into a module works but having {-# LANGUAGE
ParallelArrays #-} imply it doesn't? That would be weird.
Roman
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc