[GHC] #9814: Add Data.Void to base
GHC
ghc-devs at haskell.org
Fri Nov 21 17:34:05 UTC 2014
#9814: Add Data.Void to base
-------------------------------------+-------------------------------------
Reporter: shachaf | Owner: hvr
Type: feature | Status: patch
request | Milestone: 7.10.1
Priority: normal | Version:
Component: Core | Keywords:
Libraries | Architecture: Unknown/Multiple
Resolution: | Difficulty: Unknown
Operating System: | Blocked By:
Unknown/Multiple | Related Tickets:
Type of failure: |
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: Phab:D506 |
-------------------------------------+-------------------------------------
Comment (by Herbert Valerio Riedel <hvr@…>):
In [changeset:"a97f90cecb6351a6db5a62c1551fcbf079b0acdd/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="a97f90cecb6351a6db5a62c1551fcbf079b0acdd"
Add Data.Void to base (re #9814)
This adds the module `Data.Void` (formerly provided by Edward Kmett's
`void`
package) to `base`.
The original Haskell98 compatible implementation has been modified to use
modern GHC features (among others this makes use of `EmptyCase` as
motivated by #2431), and `vacuousM` was dropped since it's redundant now
with the AMP in place. Instances for classes not part of `base` had to be
dropped as well.
TODO: Documentation could be improved
Reviewed By: ekmett, austin
Differential Revision: https://phabricator.haskell.org/D506
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9814#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list