From 36f5400769971e11ed44dfc9aa09599c37f1a666 Mon Sep 17 00:00:00 2001 From: David Roundy Date: Wed, 17 Oct 2007 22:14:06 +0200 Subject: remove StackOrNot type synonymn. darcs-hash:20071017201406-72aca-2845317199eb5888392c1b2fa9004d29f59d6c5c.gz --- XMonad.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'XMonad.hs') diff --git a/XMonad.hs b/XMonad.hs index 1ce1aa7..fc06885 100644 --- a/XMonad.hs +++ b/XMonad.hs @@ -204,7 +204,7 @@ instance ReadableLayout a => LayoutClass Layout a where instance Show (Layout a) where show (Layout l) = show l -- | This calls doLayout if there are any windows to be laid out. -runLayout :: LayoutClass l a => l a -> Rectangle -> StackOrNot a -> X ([(a, Rectangle)], Maybe (l a)) +runLayout :: LayoutClass l a => l a -> Rectangle -> Maybe (Stack a) -> X ([(a, Rectangle)], Maybe (l a)) runLayout l r = maybe (return ([], Nothing)) (doLayout l r) -- | Based on ideas in /An Extensible Dynamically-Typed Hierarchy of Exceptions/, -- cgit v1.2.3