From 3f513d451d56cef60941727aeb71652df387a624 Mon Sep 17 00:00:00 2001 From: Adam Vogt Date: Wed, 23 Apr 2014 00:11:05 +0200 Subject: Remove unneeded context with the IfMax layout instance Ignore-this: 3b8ac316f56df6a84420754db769fb0 Extra constraints on instances are about as useful as -XDataTypeContexts darcs-hash:20140422221105-1499c-beddf2399e373128b44faa1ffba7dfe9b68b76f7.gz --- XMonad/Layout/IfMax.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'XMonad/Layout/IfMax.hs') diff --git a/XMonad/Layout/IfMax.hs b/XMonad/Layout/IfMax.hs index c8b8cba..b9e75dc 100644 --- a/XMonad/Layout/IfMax.hs +++ b/XMonad/Layout/IfMax.hs @@ -47,8 +47,7 @@ import qualified XMonad.StackSet as W data IfMax l1 l2 w = IfMax Int (l1 w) (l2 w) deriving (Read, Show) -instance (LayoutClass l1 a, LayoutClass l2 a, Read a, Show a, Eq a, Typeable a) - => LayoutClass (IfMax l1 l2) a where +instance (LayoutClass l1 a, LayoutClass l2 a) => LayoutClass (IfMax l1 l2) a where runLayout (W.Workspace _ (IfMax n l1 l2) s) rect = arrange (W.integrate' s) where -- cgit v1.2.3