Darn right! I've checked Foldable, Semigroup and Monoid, never thought about the function right above intercalate, thanks!

On Mon, Apr 22, 2019 at 2:50 AM Patrick Chilton <chpatrick@gmail.com> wrote:
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@gmail.com> wrote:
Hi Cafe,

Just a quick question, the title says it all: how do I intercalate for the Builder?
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:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.


--
Javran (Fang) Cheng