Opened 3 years ago

Last modified 19 months ago

#4438 new task

Rename and register the "PArr" language extension when it is judged to be ready

Reported by: duncan Owned by: benl
Priority: normal Milestone:
Component: Data Parallel Haskell Version:
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By: #7330
Blocking: Related Tickets:

Description

Language extensions used in distributed packages need to be registered in Language.Haskell.Extension (which currently lives in the Cabal lib).

When the DPH hackers think that the PArr extension is ready for public consumption then they should register it. It will need to be renamed to something more descriptive, see the Language.Haskell.Extension module for examples. The style is to use full words. Perhaps ParallelArrays would be an appropriate choice.

Currently the PArr extension is the only GHC extension that is deliberately not registered (there are others that are accidentally not registered). It is listed as an exception in the testsuite test that checks for GHC extensions that are accidentally not registered. See ticket #4437.

Change History (3)

comment:1 Changed 3 years ago by igloo

  • Milestone set to _|_
  • Owner set to chak

comment:2 Changed 3 years ago by chak

  • Owner changed from chak to benl

The plan is that we rename PArr to ParallelArrays for GHC 7.0.2. At the same time, we will release a matching set of DPH libraries on Hackage.

Incidentally, we also plan to add new -fvectorise-{seq,par} options to stand for -fvectorise -fdph-{seq,par}. (This instructs the vectoriser to vectorise a module for either the sequential or parallel backend.)

comment:3 Changed 19 months ago by benl

  • Blocked By 7330 added
Note: See TracTickets for help on using tickets.