use intercalate instead of MissingH's join
The two functions are identical.
This commit is contained in:
parent
689bdae03a
commit
04e150abb3
4 changed files with 8 additions and 6 deletions
|
@ -59,7 +59,7 @@ toString (ListV l)
|
|||
| null l = ""
|
||||
| otherwise = (intercalate ";" $ map (escapesemi . toString) l) ++ ";"
|
||||
where
|
||||
escapesemi = join "\\;" . split ";"
|
||||
escapesemi = intercalate "\\;" . split ";"
|
||||
|
||||
genDesktopEntry :: String -> String -> Bool -> FilePath -> Maybe String -> [String] -> DesktopEntry
|
||||
genDesktopEntry name comment terminal program icon categories = catMaybes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue