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.
This commit is contained in:
parent
ba6088b249
commit
ce5637498f
12 changed files with 23 additions and 40 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue