Parallel library
Simon Marlow
marlowsd at gmail.com
Thu Jul 30 08:36:33 UTC 2015
On 30/07/2015 08:39, Simon Peyton Jones wrote:
> Are you the maintainer of the ‘parallel’ library?
>
> The core libraries wiki page says yes:
> https://wiki.haskell.org/Library_submissions#The_Core_Libraries
>
> But parallel.cabal says “Maintainer: libraries at haskell.org
> <mailto:libraries at haskell.org>”, which I thought we’d gotten rid of
> entirely.
>
> I ask because some should fix this:
>
> libraries/parallel/Control/Parallel/Strategies.hs:513:2: warning:
>
> Rule "parList/rseq" may never fire
>
> because ‘rseq’ might inline first
>
> Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘rseq’
>
> We need a pragma on ‘rseq’.
Ok, should it be INLINE[n] or NOINLINE[n], and what is the right value of n?
(I always have to look up the documentation for these, just a suggestion
but maybe it would be better to call them INLINEAFTER[n] and
INLINEBEFORE[n], or something?)
Cheers
Simon
More information about the ghc-devs
mailing list