Closed
Description
As the author of mysql-haskell, i'm keen on formatting numeric values into texual values, the comment on doubleDec/floatDec
says
-- TODO: Use Bryan O'Sullivan's double-conversion package to speed it up.
But i don't think we really need double-conversion
here, since with Builder
infrastructure we don't have to estimate texual length and allocate extra memory, we can format them in haskell pretty well IMHO, there's two reference native implementations: blaze-texual
and text
(Which use a similar Builder
type). So is there any interest in merging some related code?
It's not as easy as it seems to be, but i still made some progress on it ; )