base_v1
base_v1 copied to clipboard
Text.concat : Text -> [Text] -> Text
Needed to concatenate an array of Texts and didn't find anything in the standard library so I thought I'd propose it here.
Inspired by OCaml's String.concat sep sl/
Code review
The changes summarized below are available for you to review, using the following command:
pull-request.load https://github.com/unisonweb/base:.trunk https://github.com/jdan/unisoncode:.prs.base.join
Added definitions:
Text.concat : Text -> [Text] -> Text (+1 metadata)
Text.concat.tests.ex1 : [Result] (+2 metadata)
Text.concat.tests.ex2 : [Result] (+2 metadata)
Text.concat.tests.ex3 : [Result] (+2 metadata)