text
text copied to clipboard
Convenience functions for Builder
I would like to add the following functions to Data.Text.Lazy.Builder
:
toStrictText :: Builder -> Text
unlines :: [Builder] -> Builder
unwords :: [Builder] -> Builder
Additionally, I think that variants of replicate
, unfoldr
, and unfoldN
that work on Builder
would be nice to have. I would be happy to implement this.
I've written a few of these in text-functions.
These sound good, thanks.
@andrewthad Would you be open to have these functions integrated into text
? I can do it.