summaryrefslogtreecommitdiffhomepage
path: root/src/Runnable.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2017-04-29 03:23:00 +0200
committerjao <jao@gnu.org>2017-04-29 03:23:00 +0200
commit2939cee44cf2ab18e2627754d19bcd8b6c9e96fb (patch)
tree64cf79a53ef8b76ecf2d6fd7a0f3a13ee0d72922 /src/Runnable.hs
parentd463058631ff61a776841e7ed7541a064414de5a (diff)
downloadxmobar-2939cee44cf2ab18e2627754d19bcd8b6c9e96fb.tar.gz
xmobar-2939cee44cf2ab18e2627754d19bcd8b6c9e96fb.tar.bz2
Compilation warnings (redundant imports) in GHC 8.0
Diffstat (limited to 'src/Runnable.hs')
-rw-r--r--src/Runnable.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Runnable.hs b/src/Runnable.hs
index 84d9b77..04272f5 100644
--- a/src/Runnable.hs
+++ b/src/Runnable.hs
@@ -46,7 +46,7 @@ class ReadAsAnyOf ts ex where
instance ReadAsAnyOf () ex where
readAsAnyOf ~() = mzero
-instance (Show t, Read t, Exec t, ReadAsAnyOf ts Runnable) => ReadAsAnyOf (t,ts) Runnable where
+instance (Read t, Exec t, ReadAsAnyOf ts Runnable) => ReadAsAnyOf (t,ts) Runnable where
readAsAnyOf ~(t,ts) = r t `mplus` readAsAnyOf ts
where r ty = do { m <- readPrec; return (Run (m `asTypeOf` ty)) }