Logo

Programming-Idioms

History of Idiom 53 > diff from v10 to v11

Edit summary for version 11 by :

Version 10

2015-08-22, 21:17:10

Version 11

2015-09-03, 11:31:03

Idiom #53 Join a list of strings

Concatenate elements of string list x joined by the separator ", " to create a single string y.

Idiom #53 Join a list of strings

Concatenate elements of string list x joined by the separator ", " to create a single string y.

Imports
import Data.List
Code
y = intercalate ", " x