From ce5637498fd4158f98376009dee2d22bec2d1f68 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 24 Jan 2012 15:28:13 -0400 Subject: 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. --- Common.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Common.hs') diff --git a/Common.hs b/Common.hs index 90895f08e..385d1aba4 100644 --- a/Common.hs +++ b/Common.hs @@ -1,6 +1,7 @@ module Common (module X) where import Control.Monad as X hiding (join) +import Control.Monad.IfElse as X import Control.Applicative as X import Control.Monad.State as X (liftIO) import Control.Exception.Extensible as X (IOException) @@ -20,7 +21,6 @@ import System.Posix.Process as X hiding (executeFile) import System.Exit as X import Utility.Misc as X -import Utility.Conditional as X import Utility.SafeCommand as X import Utility.Path as X import Utility.Directory as X -- cgit v1.2.3