[GHC] #994: add 'unsafeCoerce' to a standard location in the
hierarchical libraries
GHC
trac at galois.com
Mon Nov 13 07:18:13 EST 2006
#994: add 'unsafeCoerce' to a standard location in the hierarchical libraries
-------------------------------------------+--------------------------------
Reporter: malcolm.wallace at cs.york.ac.uk | Owner:
Type: proposal | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version:
Severity: normal | Resolution:
Keywords: | Difficulty: Easy (1 hr)
Testcase: | Architecture: Unknown
Os: Unknown |
-------------------------------------------+--------------------------------
Comment (by malcolm.wallace at cs.york.ac.uk):
Several people have mentioned that it would be good to start a new
"Unsafe.*" hierarchy to store unsafe functions. This makes it easier to
spot (and exclude, if so desired) unsafe functions in programs. I
therefore amend the proposal to store unsafeCoerce in a module called
Unsafe.Coerce. Later proposals might want to move some of the Array and
IO operations into this new Unsafe.* hierarchy as well.
--
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