[GHC] #15429: The docs for Unsafe.Coerce should recommend using Data.Coerce instead

GHC ghc-devs at haskell.org
Sat Jul 21 14:48:30 UTC 2018


#15429: The docs for Unsafe.Coerce should recommend using Data.Coerce instead
-------------------------------------+-------------------------------------
           Reporter:  sjakobi        |             Owner:  (none)
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:  8.8.1
          Component:  Core           |           Version:  8.4.3
  Libraries                          |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Currently there's no reference from `Unsafe.Coerce` to `Data.Coerce` at
 all. Unsuspecting people might use `unsafeCoerce` where `coerce` would
 also work.

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


More information about the ghc-tickets mailing list