Fix another compatibility issue with GHC 7.6.x and 7.8.x

This commit is contained in:
Peter Jones
2016-12-13 19:37:33 -07:00
parent f58b2399bd
commit a70bf6a6a3

View File

@@ -494,7 +494,7 @@ readStateFile xmc = do
-- | Migrate state from a previously running xmonad instance that used
-- the older @--resume@ technique.
{-# DEPRECATED migrateState "will be removed some point in the future." #-}
migrateState :: MonadIO m => String -> String -> m ()
migrateState :: (Functor m, MonadIO m) => String -> String -> m ()
migrateState ws xs = do
io (putStrLn "WARNING: --resume is no longer supported.")
whenJust stateData $ \s -> do