mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 20:21:51 -07:00
Wrapping the empty string yields the empty string
This commit is contained in:
@@ -125,7 +125,8 @@ pprWindowSetXinerama ws = "[" ++ unwords onscreen ++ "] " ++ unwords offscreen
|
||||
. sortBy (comparing S.tag) $ S.hidden ws
|
||||
|
||||
wrap :: String -> String -> String -> String
|
||||
wrap l r m = l ++ m ++ r
|
||||
wrap l r "" = ""
|
||||
wrap l r m = l ++ m ++ r
|
||||
|
||||
-- | Intersperse spaces, filtering empty words.
|
||||
unwords' :: [String] -> String
|
||||
|
Reference in New Issue
Block a user