Re: How do you use Data.Text.intersperse :: Char -> Text -> Text?

27 Jun
2021
27 Jun
'21
3 p.m.
`intersperse :: Char -> Text -> Text`
Yeah, that looks silly indeed. Should be pruned or marked as spam.
"Spam" is a bit harsh. And it does indeed have some use (albeit primarily with test suites and quite possibly more efficient ways to do the required task anyway): https://github.com/search?l=Haskell&q=Text.intersperse&type=Code
To be honest, I cannot find a single useful application of `intersperse` there, and most of results are not about `Data.Text.intersperse` at all. Best regards, Andrew
1423
Age (days ago)
1423
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andrew Lelechenko