summaryrefslogtreecommitdiff
path: root/Utility/Directory.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-01-24 15:28:13 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-01-24 16:22:07 -0400
commitce5637498fd4158f98376009dee2d22bec2d1f68 (patch)
treee529bad846ce43424c9b535206b75f3b53f6cdee /Utility/Directory.hs
parentba6088b249902d456177af3c14f20f43b6def1fd (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/Directory.hs')
-rw-r--r--Utility/Directory.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/Directory.hs b/Utility/Directory.hs
index 249ed6935..b5fedb9c7 100644
--- a/Utility/Directory.hs
+++ b/Utility/Directory.hs
@@ -12,9 +12,9 @@ import System.Posix.Files
import System.Directory
import Control.Exception (throw)
import Control.Monad
+import Control.Monad.IfElse
import Utility.SafeCommand
-import Utility.Conditional
import Utility.TempFile
{- Moves one filename to another.