purescript/purescript-strings

Split functions should return NonEmptyArray

matthewleon opened this issue · 1 comments

For backward-compatibility, String.split' and String.Regex.split' should be defined returning NonEmptyArrays.

I'm wrong here, splits can return empty arrays.