Repository : ssh://darcs.haskell.org//srv/darcs/packages/base On branch : master
http://hackage.haskell.org/trac/ghc/changeset/71c2c09f3b23441a3e1b9e618452fd3ab5ca9f6c >--------------------------------------------------------------- commit 71c2c09f3b23441a3e1b9e618452fd3ab5ca9f6c Author: Simon Marlow <[email protected]> Date: Mon Apr 16 16:45:08 2012 +0100 DEPRECATE Foreign.Marshal.Error.void (use Control.Monad.void instead) >--------------------------------------------------------------- Foreign/C/Error.hs | 2 +- Foreign/Marshal/Error.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Foreign/C/Error.hs b/Foreign/C/Error.hs index 020f08e..ecad995 100644 --- a/Foreign/C/Error.hs +++ b/Foreign/C/Error.hs @@ -107,7 +107,7 @@ module Foreign.C.Error ( import Foreign.Ptr import Foreign.C.Types import Foreign.C.String -import Foreign.Marshal.Error ( void ) +import Control.Monad ( void ) import Data.Maybe #if __GLASGOW_HASKELL__ diff --git a/Foreign/Marshal/Error.hs b/Foreign/Marshal/Error.hs index 5fe9a7e..4236d44 100644 --- a/Foreign/Marshal/Error.hs +++ b/Foreign/Marshal/Error.hs @@ -83,4 +83,4 @@ throwIfNull = throwIf (== nullPtr) . const -- void :: IO a -> IO () void act = act >> return () - +{-# DEPRECATED void "use Control.Monad.void instead" #-} _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
