Update kind changes in the -class branch

This commit is contained in:
Spencer Janssen
2007-09-27 22:27:30 +00:00
parent 2ab2195782
commit d1fdd4a020

View File

@@ -495,7 +495,7 @@ swapMaster = modify' $ \c -> case c of
-- natural! keep focus, move current to the top, move top to current. -- natural! keep focus, move current to the top, move top to current.
-- | /O(s)/. Set focus to the master window. -- | /O(s)/. Set focus to the master window.
focusMaster :: StackSet i a s sd -> StackSet i a s sd focusMaster :: StackSet i l a s sd -> StackSet i l a s sd
focusMaster = modify' $ \c -> case c of focusMaster = modify' $ \c -> case c of
Stack _ [] _ -> c Stack _ [] _ -> c
Stack t ls rs -> Stack x [] (xs ++ t : rs) where (x:xs) = reverse ls Stack t ls rs -> Stack x [] (xs ++ t : rs) where (x:xs) = reverse ls