patch applied (ghc): Reverse the safe/unsafe requirement on foreign import prim

Ian Lynagh igloo at earth.li
Mon Jun 22 16:26:14 EDT 2009


Thu Jun 11 04:52:43 PDT 2009  Duncan Coutts <duncan at well-typed.com>
  * Reverse the safe/unsafe requirement on foreign import prim
  The safe/unsafe annotation doesn't currently mean anything for prim.
  Just in case we decide it means something later it's better to stick
  to using one or the other consistently. We decided that using safe
  is the better one to require (and it's also the default).

    M ./compiler/typecheck/TcForeign.lhs -2 +2

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090611115243-b0bbe-e06da4d474b902c0c6c393083ccb677bab96fad6.gz



More information about the Cvs-ghc mailing list