aboutsummaryrefslogtreecommitdiffstats
path: root/Main.hs
diff options
context:
space:
mode:
authorDon Stewart <dons@galois.com>2007-10-06 12:35:30 +0200
committerDon Stewart <dons@galois.com>2007-10-06 12:35:30 +0200
commit3d3a1a7a391564c210b6a3753942a6fc46382124 (patch)
tree661203e5d85bbc1b7facfc53f69e6594218ec624 /Main.hs
parent2aa44b369862ea2a0c69bc5a5bbb5e072f5ba206 (diff)
downloadxmonad-3d3a1a7a391564c210b6a3753942a6fc46382124.tar.gz
xmonad-3d3a1a7a391564c210b6a3753942a6fc46382124.tar.xz
xmonad-3d3a1a7a391564c210b6a3753942a6fc46382124.zip
avoid name class with forever in 6.8
darcs-hash:20071006103530-cba2c-ec2e63665fe61abdad6ab10862b9f442943a4530.gz
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Main.hs b/Main.hs
index db4e0f3..f8de8ea 100644
--- a/Main.hs
+++ b/Main.hs
@@ -101,9 +101,9 @@ main = do
mapM_ manage ws
-- main loop, for all you HOF/recursion fans out there.
- forever $ handle =<< io (nextEvent dpy e >> getEvent e)
+ forever_ $ handle =<< io (nextEvent dpy e >> getEvent e)
- where forever a = a >> forever a
+ where forever_ a = a >> forever_ a
-- ---------------------------------------------------------------------
-- IO stuff. Doesn't require any X state