summaryrefslogtreecommitdiff
path: root/community/xmonad-contrib/remove_unnecessary_contexts.patch
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-05 04:02:14 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-05 04:02:14 +0000
commitd7918d0226da2805ff09c48963d2c79e1327c630 (patch)
tree7899e81c92db3791af5dd17e05c3be10e8a9c007 /community/xmonad-contrib/remove_unnecessary_contexts.patch
parentbc80cf7c2a23a9d9580f3db36652165fd307b598 (diff)
Mon May 5 03:56:02 UTC 2014
Diffstat (limited to 'community/xmonad-contrib/remove_unnecessary_contexts.patch')
-rw-r--r--community/xmonad-contrib/remove_unnecessary_contexts.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/xmonad-contrib/remove_unnecessary_contexts.patch b/community/xmonad-contrib/remove_unnecessary_contexts.patch
new file mode 100644
index 000000000..cecf19e76
--- /dev/null
+++ b/community/xmonad-contrib/remove_unnecessary_contexts.patch
@@ -0,0 +1,21 @@
+diff -aur xmonad-contrib-0.11.2/XMonad/Layout/MultiToggle.hs xmonad-contrib-new/XMonad/Layout/MultiToggle.hs
+--- xmonad-contrib-0.11.2/XMonad/Layout/MultiToggle.hs 2013-07-16 04:52:11.000000000 +0200
++++ xmonad-contrib-new/XMonad/Layout/MultiToggle.hs 2014-04-27 21:26:20.746206511 +0200
+@@ -99,7 +99,7 @@
+ transform :: (LayoutClass l a) => t -> l a ->
+ (forall l'. (LayoutClass l' a) => l' a -> (l' a -> l a) -> b) -> b
+
+-data (LayoutClass l a) => EL l a = forall l'. (LayoutClass l' a) => EL (l' a) (l' a -> l a)
++data EL l a = forall l'. (LayoutClass l' a) => EL (l' a) (l' a -> l a)
+
+ unEL :: (LayoutClass l a) => EL l a -> (forall l'. (LayoutClass l' a) => l' a -> b) -> b
+ unEL (EL x _) k = k x
+@@ -159,7 +159,7 @@
+ infixr 0 ??
+ -- | Prepend an element to a heterogeneous list. Used to build transformer
+ -- tables for 'mkToggle'.
+-(??) :: (HList b w) => a -> b -> HCons a b
++(??) :: a -> b -> HCons a b
+ (??) = HCons
+
+ -- | Construct a singleton transformer table.