[GHC] #1311: newtypes of unboxed types disallowed - documentation bug and/or feature request

GHC ghc-devs at haskell.org
Sun Jan 10 23:10:41 UTC 2016


#1311: newtypes of unboxed types disallowed - documentation bug and/or feature
request
-------------------------------------+-------------------------------------
        Reporter:  Isaac Dupree      |                Owner:  osa1
            Type:  feature request   |               Status:  new
        Priority:  low               |            Milestone:  ⊥
       Component:  Compiler          |              Version:  7.7
      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 goldfire):

 I don't see a problem thus far. But as I said in my previous comment, you
 may need to unify that result kind with `*` in the datatype case
 somewhere. Perhaps a `_ <- unifyType blah blah (typeKind res_ty)
 liftedTypeKind` would do the trick, but perhaps something more elaborate
 is necessary. I do think you're pushing in the right direction, though.

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


More information about the ghc-tickets mailing list