DylanMeeus/hasgo

Intersperse()

Closed this issue · 1 comments

The intersperse function takes an element and a list and `intersperses' that element between the elements of the list. For example,

t: (a -> [a] -> [a])
ghci> intersperse ',' "abcde"
"a,b,c,d,e"

Done in #54