style assimilation

This commit is contained in:
Lukas Mai 2008-01-17 23:40:59 +00:00
parent 9a6494fae2
commit 9a209f6d55

View File

@ -189,7 +189,7 @@ acceptChange :: (LayoutClass l' a) => MultiToggle ts l a -> ((l' a -> MultiToggl
acceptChange mt f = fmap (f (\x -> mt{ currLayout = EL x }))
instance (Typeable a, Show ts, HList ts a, LayoutClass l a) => LayoutClass (MultiToggle ts l) a where
description (MultiToggle { currLayout = (EL l) }) = description l
description mt = currLayout mt `unEL` \l -> description l
pureLayout mt r s = currLayout mt `unEL` \l -> pureLayout l r s