Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Maybe fix build on GHC 7.4.1

  • Loading branch information...
commit 7755c6ef1c443737006ff5a4a8bf374a00b77bca 1 parent 555b617
@willdonnelly authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Config/Dyre/Paths.hs
View
3  Config/Dyre/Paths.hs
@@ -33,9 +33,10 @@ getPaths params@Params{projectName = pName} = do
-- | Check if a file exists. If it exists, return Just the modification
-- time. If it doesn't exist, return Nothing.
-maybeModTime :: FilePath -> IO (Maybe UTCTime)
maybeModTime path = do
fileExists <- doesFileExist path
if fileExists
then fmap Just $ getModificationTime path
else return Nothing
+-- Removed type signature because it can't satisfy GHC 7.4 and 7.6 at once
+-- maybeModTime :: FilePath -> IO (Maybe UTCTime)
Please sign in to comment.
Something went wrong with that request. Please try again.