On 06/08/2011 02:46, David Terei wrote:

Another question, the Haskell 2010 package. Some of the modules here
are unsafe (e.g Foreign.ForeignPtr). My understanding is these
packages are designed to strictly conform to the language
specification. So should I leave Foreign.ForeignPtr alone and do
nothing. Or its OK to create a Foreign.ForeignPtr.Safe module? I am
assuming it wouldn't be OK to deprecate the unsafe methods in
Foreign.ForeignPtr as this would require us first changing the Haskell
language spec?

Right, we cannot change the API of haskell2010 at all, and deprecation isn't really appropriate (we claim to fully support Haskell2010). I suggest just adding Safe/Trustworthy where appropriate and leaving it at that.

Cheers,
        Simon


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to