[GHC] #14673: Unary Unboxed Tuple Type Constructor

GHC ghc-devs at haskell.org
Wed Apr 11 18:29:15 UTC 2018


#14673: Unary Unboxed Tuple Type Constructor
-------------------------------------+-------------------------------------
        Reporter:  andrewthad        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.1-alpha1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by ekmett):

 I have no strong preference, but Simon's suggestion of `Solo#` sounds good
 to me.

 Keeping the hash in seems consistent with the rest of the constructors for
 kind `#` and so feels like a good idea.

 It would also let folks consistently use `Solo` for the `data`-based unary
 tuple if they wanted it in user-space somewhere. e.g. That is an example
 of something that admits a legal `MonadFail` (unlike `Identity`) but not
 recovery.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14673#comment:20>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list