[Haskell-cafe] Which builder to choose?
duncan.coutts at googlemail.com
Fri Sep 20 16:10:59 CEST 2013
On Fri, 2013-09-20 at 14:57 +0200, Alejandro Serrano Mena wrote:
> I'm looking at the packages blaze-builder and bytestring, and both provide
> builders for ByteString.
> Which one should I use? In which situations is one more convenient than the
I'd say the usual answer here would be bytestring. Both implementations
are by Simon Meier, but the bytestring one is the later one with various
refinements and more API review. The bytestring one is intended to
replace the blaze-builder one. The bytestring one is in the platform.
The blaze-builder one still has some extra special-case functionality
such as for html encoding. I *think* (but not 100% sure) that Simon's
plan is to make blaze-builder re-export the bytestring builder and just
add the few extra functions on top.
More information about the Haskell-Cafe