diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-24 15:28:13 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-24 16:22:07 -0400 |
commit | ce5637498fd4158f98376009dee2d22bec2d1f68 (patch) | |
tree | e529bad846ce43424c9b535206b75f3b53f6cdee /Utility/CopyFile.hs | |
parent | ba6088b249902d456177af3c14f20f43b6def1fd (diff) |
remove Utility.Conditional and use IfElse
This drops the >>! and >>? with the nice low fixity. IfElse does have
undocumented >>=>>! and >>=>>? operators, but I deem that too fishy.
Anyway, using whenM and unlessM is easier; I sometimes mixed the operators
up.
Diffstat (limited to 'Utility/CopyFile.hs')
-rw-r--r-- | Utility/CopyFile.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/CopyFile.hs b/Utility/CopyFile.hs index 5d6855bf0..c42506485 100644 --- a/Utility/CopyFile.hs +++ b/Utility/CopyFile.hs @@ -8,8 +8,8 @@ module Utility.CopyFile (copyFileExternal) where import System.Directory (doesFileExist, removeFile) +import Control.Monad.IfElse -import Utility.Conditional import Utility.SafeCommand import qualified Build.SysConfig as SysConfig |