[Haskell-cafe] how do I intercalate for Data.Text.Lazy.Builder
chpatrick at gmail.com
Mon Apr 22 09:50:11 UTC 2019
If you want to join a list of Builders with a delimiter, you can use
`mconcat (intersperse d xs)`
This works for any Monoid.
On Mon, Apr 22, 2019 at 10:59 AM Javran Cheng <javran.c at gmail.com> wrote:
> Hi Cafe,
> Just a quick question, the title says it all: how do I intercalate for the
> Given what it does, it makes sense that things like `intercalate` should
> be out of the box,
> yet I feel the export list of Builder is very limited.
> Javran (Fang) Cheng
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe