mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-26 01:31:53 -07:00
comment for (dubious?) integrate'
This commit is contained in:
@@ -288,6 +288,8 @@ peek = with Nothing (return . focus)
|
||||
integrate :: Stack a -> [a]
|
||||
integrate (Stack x l r) = reverse l ++ x : r
|
||||
|
||||
-- |
|
||||
-- /O(n)/ Flatten a possibly empty stack into a list.
|
||||
integrate' :: StackOrNot a -> [a]
|
||||
integrate' = maybe [] integrate
|
||||
|
||||
|
Reference in New Issue
Block a user