Galchin, Vasili | 13 Jan 23:12
Picon

ByteString intercalate semantics??

Hello,

     From Hoogle (my friend) ....

intercalate :: ByteString -> [ByteString] -> ByteString Source
O(n) The intercalate function takes a ByteString and a list of ByteStrings and concatenates the list after interspersing the first argument between each element of the list.




So intercalate doesn't do a simple concatenation?

Vasili
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Gmane