diff options
author | Adam Vogt <vogt.adam@gmail.com> | 2013-02-17 17:33:56 +0100 |
---|---|---|
committer | Adam Vogt <vogt.adam@gmail.com> | 2013-02-17 17:33:56 +0100 |
commit | 0435ca93abbd2de570643ade72c0cfcf0cb46bbc (patch) | |
tree | b7c61fecc355e2bd7fdeadba1fb2e8ef7df93521 /XMonad/Layout | |
parent | 6e183515ab56b0a767c50dfd94840453187d69ca (diff) | |
download | XMonadContrib-0435ca93abbd2de570643ade72c0cfcf0cb46bbc.tar.gz XMonadContrib-0435ca93abbd2de570643ade72c0cfcf0cb46bbc.tar.xz XMonadContrib-0435ca93abbd2de570643ade72c0cfcf0cb46bbc.zip |
Remove unnecessary contexts from L.MultiToggle
Ignore-this: 6b0e413d8c3a58f62088c32a96c57c51
darcs-hash:20130217163356-1499c-49328ff9588901c49e7b84a80ef079d2b7514268.gz
Diffstat (limited to '')
-rw-r--r-- | XMonad/Layout/MultiToggle.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/XMonad/Layout/MultiToggle.hs b/XMonad/Layout/MultiToggle.hs index 53b6de2..4bf1ba5 100644 --- a/XMonad/Layout/MultiToggle.hs +++ b/XMonad/Layout/MultiToggle.hs @@ -99,7 +99,7 @@ class (Eq t, Typeable t) => Transformer t a | t -> a where 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 @@ data HCons a b = HCons a b deriving (Read, Show) 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. |