Hey, im trying to declare a function, string list -> string, that with the input for instance ["Chicago","city","USA"] should return "Chigago city USA". And im having a bit of trouble, what i did so far was this:
fun gather ts = foldr op ^ "" ts;
This seems to be somewhat along the lines, however the problem is, i would like to include the spaces between the words, as this function would return "ChigagocityUSA"
Any hints is appreciated :)