mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-13 11:05:44 -07:00
StackSet.hs: (differentiate): 'Texture' doesn't mean anything to me; replace with a more descriptive comment.
This commit is contained in:
@@ -325,8 +325,9 @@ integrate' :: Maybe (Stack a) -> [a]
|
|||||||
integrate' = maybe [] integrate
|
integrate' = maybe [] integrate
|
||||||
|
|
||||||
-- |
|
-- |
|
||||||
-- /O(n)/. Texture a list.
|
-- /O(n)/. Turn a list into a possibly empty stack (i.e., a zipper):
|
||||||
--
|
-- the first element of the list is current, and the rest of the list
|
||||||
|
-- is down.
|
||||||
differentiate :: [a] -> Maybe (Stack a)
|
differentiate :: [a] -> Maybe (Stack a)
|
||||||
differentiate [] = Nothing
|
differentiate [] = Nothing
|
||||||
differentiate (x:xs) = Just $ Stack x [] xs
|
differentiate (x:xs) = Just $ Stack x [] xs
|
||||||
|
Reference in New Issue
Block a user