diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-04-25 10:41:38 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-04-25 10:47:54 +0100 |
commit | 389820b2bcdc32be728e05fd98b69382f9c55721 (patch) | |
tree | 54ac349dd40e141fa49bd9fe290e580053fbf1fc /System/Posix/Error.hs | |
parent | a0379db01dce6b4371ead2ce82e4221e1ae8c334 (diff) |
use Control.Monad.void instead of Foreign.void (which is now deprecated)
Diffstat (limited to 'System/Posix/Error.hs')
-rw-r--r-- | System/Posix/Error.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/System/Posix/Error.hs b/System/Posix/Error.hs index 73988dc..7c68941 100644 --- a/System/Posix/Error.hs +++ b/System/Posix/Error.hs @@ -28,8 +28,9 @@ module System.Posix.Error ( throwErrnoPathIfMinus1Retry_ ) where -import Foreign +import Foreign hiding (void) import Foreign.C +import Control.Monad throwErrnoPathIfMinus1Retry :: (Eq a, Num a) => String -> FilePath -> IO a -> IO a |