aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks
diff options
context:
space:
mode:
authorDaniel Wagner <daniel@wagner-home.com>2011-11-15 03:26:50 +0100
committerDaniel Wagner <daniel@wagner-home.com>2011-11-15 03:26:50 +0100
commit84323448ca9526b91181d361efaa506c67f9813e (patch)
tree1f77cd7b576176ffc869cba90fafad06fde9376d /XMonad/Hooks
parent361e727a7844e5fd2ea7eaa0d6b1d4fc0a5c0b68 (diff)
downloadXMonadContrib-84323448ca9526b91181d361efaa506c67f9813e.tar.gz
XMonadContrib-84323448ca9526b91181d361efaa506c67f9813e.tar.xz
XMonadContrib-84323448ca9526b91181d361efaa506c67f9813e.zip
get ready for GHC 7.4: Num a no longer implies (Eq a, Show a)
Ignore-this: faa34d69ddd27b98c6507740b42c9e97 darcs-hash:20111115022650-76d51-10a2e23210b65268ffa3aa606ebba72b6986e77e.gz
Diffstat (limited to 'XMonad/Hooks')
-rw-r--r--XMonad/Hooks/DebugKeyEvents.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Hooks/DebugKeyEvents.hs b/XMonad/Hooks/DebugKeyEvents.hs
index edacb6c..af8184c 100644
--- a/XMonad/Hooks/DebugKeyEvents.hs
+++ b/XMonad/Hooks/DebugKeyEvents.hs
@@ -81,7 +81,7 @@ debugKeyEvents (KeyEvent {ev_event_type = t, ev_state = m, ev_keycode = code})
debugKeyEvents _ = return (All True)
-- | Convenient showHex variant
-hex :: Integral n => n -> String
+hex :: (Integral n, Show n) => n -> String
hex v = "0x" ++ showHex v ""
-- | Convert a modifier mask into a useful string