#3659: two-dimensional PArrays in data parallel code
------------------------------+---------------------------------------------
Reporter: ams | Owner: rl
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.4
Severity: normal | Resolution: worksforme
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
------------------------------+---------------------------------------------
Changes (by rl):
* status: new => closed
* resolution: => worksforme
Comment:
In the HEAD, `fromList` hast this type:
{{{
fromList :: PA a => [a] -> PArray a
}}}
That said, the type `PArray` is internal to DPH and in theory shouldn't be
used outside of the library. You have to use it at the moment when
interfacing non-vectorised with vectorised code but I'm in the process of
fixing that. Once I'm done, you'll be able to use `[:a:]` everywhere and
DPH won't expose module outside of the (temporary)
`Data.Array.Parallel.Prelude` hierarchy.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3659#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs