I need to write a function which takes a list and returns a concatenated string consisting of all strings from the input list, separated with spaces '', e.g.
setTogether ["aaa", "bbb", "c", "cc"] == "aaa bbb c cc"
setTogether ["aaa"] == "aaa"
with the type signature: setTogether :: [String] -> String
setTogether :: [String] -> String
setTogether ls = [x | x <- ls]
^as you can see I'm kind of lost! Any help is greatly appreciated :)
Edit: I'm not supposed to use "words" or "unwords"