-{-# OPTIONS -fglasgow-exts -cpp #-}
+{-# LANGUAGE PatternGuards, CPP, ForeignFunctionInterface #-}
-----------------------------------------------------------------------------
--
-- (c) The University of Glasgow 2004-2009.
removeFileSafe :: FilePath -> IO ()
removeFileSafe fn =
removeFile fn `catch` \ e ->
- when (not $ isDoesNotExistError e) $ ioError e
\ No newline at end of file
+ when (not $ isDoesNotExistError e) $ ioError e