Data.List.join

Henning Thielemann lemming at henning-thielemann.de
Sun Oct 22 09:50:50 EDT 2006


On Sat, 21 Oct 2006, Josef Svenningsson wrote:

> I'd like to propose to include the following function in Data.List:
> join :: [a] -> [[a]] -> [a]
> join x xs = concat (intersperse x xs)

analogously to
  concatMap = concat . map
we might prefer
  concatIntersperse = concat . intersperse


More information about the Libraries mailing list