diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-05-22 06:37:58 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-05-22 06:37:58 +0200 |
commit | 2d4d422162e442c3b9fc88dd31e808c2f536c778 (patch) | |
tree | b7e0195d7e90cfd60f539e49775cb7a012f26c63 | |
parent | a4b510151ed03652f7ac745e666d6df21f635942 (diff) | |
download | metatile-2d4d422162e442c3b9fc88dd31e808c2f536c778.tar metatile-2d4d422162e442c3b9fc88dd31e808c2f536c778.zip |
Generalize withDisplay's type
darcs-hash:20070522043758-a5988-7738168ac829a9b2cf79e6866072cccde379a977
-rw-r--r-- | XMonad.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ runX c st (X a) = runStateT (runReaderT a c) st >> return () -- Convenient wrappers to state -- | Run a monad action with the current display settings -withDisplay :: (Display -> X ()) -> X () +withDisplay :: (Display -> X a) -> X a withDisplay f = asks display >>= f -- | Run a monadic action with the current workspace |