AustinScola / seligimus

A mono-library.
MIT License
1 stars 0 forks source link

Add string join #196

Closed AustinScola closed 3 years ago

AustinScola commented 3 years ago

Add the ability to join strings with seperatos and optionally a different final seperator. For example, you can join the strings 'foo', 'bar', and 'baz' into 'foo, bar or baz'. The next thing for this would be to add support for a different seperator depending on whether there are only two, or two or more seperators (this would let you do Oxford commas.) We might also figure out a better looping mechanism? For example something that lets you loop through an iterable with a kernel of current value, next value or size kernels?