Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/9e4c34c2cbba8095d9944f8b87372599d6a41c23

>---------------------------------------------------------------

commit 9e4c34c2cbba8095d9944f8b87372599d6a41c23
Author: Manuel M T Chakravarty <[email protected]>
Date:   Thu Nov 10 19:09:49 2011 +1100

    Add GHC.PArr.PArr to break a cycle in compiling Data.Array.Parallel

>---------------------------------------------------------------

 GHC/PArr.hs |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/GHC/PArr.hs b/GHC/PArr.hs
index 5852625..c1b9f74 100644
--- a/GHC/PArr.hs
+++ b/GHC/PArr.hs
@@ -13,6 +13,12 @@
 -- Stability   :  internal
 -- Portability :  non-portable (GHC Extensions)
 --
+-- BIG UGLY HACK: The desugarer special cases this module.  Despite the uses 
of '-XParallelArrays',
+--                the desugarer does not load 'Data.Array.Parallel' into its 
global state. (Hence,
+--                the present module may not use any other piece of 
'-XParallelArray' syntax.)
+--
+--                This will be cleaned up when we change the internal 
represention of '[::]' to not
+--                rely on a wired-in type constructor.
 
 -- #hide
 module GHC.PArr where
@@ -28,3 +34,4 @@ import GHC.Base
 --
 data [::] e = PArr !Int (Array# e)
 
+type PArr e = [::] e   -- this synonym is to get access to '[::]' without 
using the special syntax



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to