[GHC] #994: add 'unsafeCoerce' to a standard location in the hierarchical libraries

GHC trac at galois.com
Fri Nov 10 06:46:30 EST 2006


#994: add 'unsafeCoerce' to a standard location in the hierarchical libraries
----------------------------------------------+-----------------------------
    Reporter:  malcolm.wallace at cs.york.ac.uk  |       Owner:         
        Type:  feature request                |      Status:  new    
    Priority:  normal                         |   Milestone:         
   Component:  libraries/base                 |     Version:         
    Severity:  normal                         |    Keywords:         
  Difficulty:  Easy (1 hr)                    |    Testcase:         
Architecture:  Unknown                        |          Os:  Unknown
----------------------------------------------+-----------------------------
Currently, all implementations provide either the 'unsafeCoerce' or
 'unsafeCoerce#' functions, but they live in implementation-specific
 locations.

 This proposal is to adopt the Haskell'98-compatible name 'unsafeCoerce',
 and to add it to the standard base library package.
 Suggested location:  Data.Function.Unsafe?

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


More information about the Glasgow-haskell-bugs mailing list