mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-06 06:51:55 -07:00
Wrapping the empty string yields the empty string
This commit is contained in:
@@ -125,6 +125,7 @@ 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 "" = ""
|
||||||
wrap l r m = l ++ m ++ r
|
wrap l r m = l ++ m ++ r
|
||||||
|
|
||||||
-- | Intersperse spaces, filtering empty words.
|
-- | Intersperse spaces, filtering empty words.
|
||||||
|
Reference in New Issue
Block a user