data icon indicating copy to clipboard operation
data copied to clipboard

inconsistent typing for tuples (or nonempty arrays)

Open datner opened this issue 2 years ago • 0 comments

some combinators take or return a mutable tuple: String.split returns [string, ...string[]] some combinators take or return a readonly tuple: ReadonlyArray.lastNonEmpty takes readonly [A, ...A[]]

I understand how this drift happened, but it's uncomfortable to work with.

datner avatar Sep 13 '23 09:09 datner