[GHC] #10252: Abstract newtype in hs-boot

GHC ghc-devs at haskell.org
Tue Apr 7 16:40:40 UTC 2015


#10252: Abstract newtype in hs-boot
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                   Owner:
            Type:  feature request   |                  Status:  closed
        Priority:  normal            |               Milestone:
       Component:  Compiler (Type    |                 Version:  7.11
  checker)                           |                Keywords:  backpack
      Resolution:  worksforme        |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by goldfire):

 Hmmm... I guess so. It means that we can't tell whether something is a
 `data` or a `newtype` right away. This throws out the idea of
 representational matching, for better or worse.

 Good point.

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


More information about the ghc-tickets mailing list