From f58b2399bd4427ce2ad60f927fc366a2e7496de0 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 13 Dec 2016 19:21:15 -0700 Subject: [PATCH] Fix compatibility issue with GHC 7.6.x and 7.8.x --- src/XMonad/Core.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XMonad/Core.hs b/src/XMonad/Core.hs index 6fae840..9961499 100644 --- a/src/XMonad/Core.hs +++ b/src/XMonad/Core.hs @@ -514,7 +514,7 @@ findFirstDirWithEnv envName paths = do -- | Get the name of the file used to store the xmonad window state. -stateFileName :: MonadIO m => m FilePath +stateFileName :: (Functor m, MonadIO m) => m FilePath stateFileName = ( "xmonad.state") <$> getXMonadDataDir -- | 'recompile force', recompile the xmonad configuration file when