summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/PArr.hs
diff options
context:
space:
mode:
authorKavon Farvardin <kavon@farvard.in>2018-09-23 15:29:37 -0500
committerKavon Farvardin <kavon@farvard.in>2018-09-23 15:29:37 -0500
commit84c2ad99582391005b5e873198b15e9e9eb4f78d (patch)
treecaa8c2f2ec7e97fbb4977263c6817c9af5025cf4 /libraries/base/GHC/PArr.hs
parent8ddb47cfcf5776e9a3c55fd37947c8a95e00fa12 (diff)
parente68b439fe5de61b9a2ca51af472185c62ccb8b46 (diff)
downloadhaskell-wip/T13904.tar.gz
update to current master againwip/T13904
Diffstat (limited to 'libraries/base/GHC/PArr.hs')
-rw-r--r--libraries/base/GHC/PArr.hs37
1 files changed, 0 insertions, 37 deletions
diff --git a/libraries/base/GHC/PArr.hs b/libraries/base/GHC/PArr.hs
deleted file mode 100644
index 67d25bcb85..0000000000
--- a/libraries/base/GHC/PArr.hs
+++ /dev/null
@@ -1,37 +0,0 @@
-{-# LANGUAGE Trustworthy #-}
-{-# LANGUAGE NoImplicitPrelude #-}
-{-# LANGUAGE ParallelArrays, MagicHash #-}
-{-# OPTIONS_GHC -funbox-strict-fields #-}
-{-# OPTIONS_HADDOCK hide #-}
-
------------------------------------------------------------------------------
--- |
--- Module : GHC.PArr
--- Copyright : (c) 2001-2011 The Data Parallel Haskell team
--- License : see libraries/base/LICENSE
---
--- Maintainer : cvs-ghc@haskell.org
--- 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.
-
-module GHC.PArr where
-
-import GHC.Base
-
--- Representation of parallel arrays
---
--- Vanilla representation of parallel Haskell based on standard GHC arrays that is used if the
--- vectorised is /not/ used.
---
--- NB: This definition *must* be kept in sync with `TysWiredIn.parrTyCon'!
---
-data [::] e = PArr !Int (Array# e)
-
-type PArr = [::] -- this synonym is to get access to '[::]' without using the special syntax