[GHC] #12478: Template Haskell support for unboxed sums
GHC
ghc-devs at haskell.org
Tue Aug 23 20:34:17 UTC 2016
#12478: Template Haskell support for unboxed sums
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner:
Type: feature request | Status: patch
Priority: normal | Milestone: 8.2.1
Component: Template Haskell | Version: 8.1
Resolution: | Keywords:
| TemplateHaskell
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D2448
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"613d745523f181991f6f916bbe58082b7970f7e6/ghc"
613d7455/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="613d745523f181991f6f916bbe58082b7970f7e6"
Template Haskell support for unboxed sums
This adds new constructors `UnboxedSumE`, `UnboxedSumT`, and
`UnboxedSumP` to represent unboxed sums in Template Haskell.
One thing you can't currently do is, e.g., `reify ''(#||#)`, since I
don't believe unboxed sum type/data constructors can be written in
prefix form. I will look at fixing that as part of #12514.
Fixes #12478.
Test Plan: make test TEST=T12478_{1,2,3}
Reviewers: osa1, goldfire, austin, bgamari
Reviewed By: goldfire, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2448
GHC Trac Issues: #12478
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12478#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list