Use IfElse package for whenM/unlessM

This commit is contained in:
2016-06-05 21:52:52 +02:00
parent 4d71ad08ce
commit a5942ff026
4 changed files with 11 additions and 35 deletions

View File

@@ -27,13 +27,13 @@ library
exposed-modules: HPath,
HPath.IO,
HPath.IO.Errors,
HPath.IO.Utils,
System.Posix.Directory.Foreign,
System.Posix.Directory.Traversals,
System.Posix.FD,
System.Posix.FilePath
other-modules: HPath.Internal
build-depends: base >= 4.2 && <5
, IfElse
, bytestring >= 0.9.2.0
, deepseq
, exceptions
@@ -99,6 +99,7 @@ test-suite spec
GHC-Options: -Wall
Build-Depends: base
, HUnit
, IfElse
, bytestring
, hpath
, hspec >= 1.3