mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 12:41:52 -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
|
. sortBy (comparing S.tag) $ S.hidden ws
|
||||||
|
|
||||||
wrap :: String -> String -> String -> String
|
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.
|
-- | Intersperse spaces, filtering empty words.
|
||||||
unwords' :: [String] -> String
|
unwords' :: [String] -> String
|
||||||
|
Reference in New Issue
Block a user