You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Joining with a prefix and suffix is a relatively common operation that
isn't terribly simple to implement concisely. This adds that operation
for joining strings.
Related to #195.
Motivation:
I wanted to pretty print a 2D array (a Sudoku board) and found mapping to string and using
joined(by:)
fell short of what I needed.My current solution is to copy Scala's
mkString
but I wonder if there is a better (more general and performant) way:The text was updated successfully, but these errors were encountered: