[commit: packages/parallel] master: Add NOINLINE[1] rseq to make the RULE more robust (f606922)
git at git.haskell.org
git at git.haskell.org
Sat Jan 2 08:16:57 UTC 2016
Repository : ssh://git@git.haskell.org/parallel
On branch : master
Link : http://git.haskell.org/packages/parallel.git/commitdiff/f6069229df73045770fe4521991b9d22fd58e680
>---------------------------------------------------------------
commit f6069229df73045770fe4521991b9d22fd58e680
Author: Simon Marlow <marlowsd at gmail.com>
Date: Fri Jul 31 20:20:20 2015 +0100
Add NOINLINE[1] rseq to make the RULE more robust
>---------------------------------------------------------------
f6069229df73045770fe4521991b9d22fd58e680
Control/Parallel/Strategies.hs | 1 +
1 file changed, 1 insertion(+)
diff --git a/Control/Parallel/Strategies.hs b/Control/Parallel/Strategies.hs
index e65cfef..05d5385 100644
--- a/Control/Parallel/Strategies.hs
+++ b/Control/Parallel/Strategies.hs
@@ -509,6 +509,7 @@ parListWHNF xs = go xs `pseq` return xs
-- more compositional counterpart; use RULES to do the specialisation.
{-# NOINLINE [1] parList #-}
+{-# NOINLINE [1] rseq #-}
{-# RULES
"parList/rseq" parList rseq = parListWHNF
#-}
More information about the ghc-commits
mailing list