fix layout to meet style

This commit is contained in:
Joey Hess 2015-07-21 11:17:00 -04:00
parent e4ecda210b
commit 1ea376cf10
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,8 @@ onChangeFlagOnFail flagfile p1 p2 =
MadeChange -> flagFailed s2
_ -> ifM (liftIO $ doesFileExist flagfile)
(flagFailed s2
, return r1)
, return r1
)
flagFailed s = do
r <- s
liftIO $ case r of
@ -88,7 +89,6 @@ onChangeFlagOnFail flagfile p1 p2 =
writeFile flagfile ""
removeFlagFile = whenM (doesFileExist flagfile) $ removeFile flagfile
-- | Alias for @flip describe@
(==>) :: IsProp (Property i) => Desc -> Property i -> Property i
(==>) = flip describe