purescript/purescript-strings

Using -1 to mean "not found"

hdgarrood opened this issue · 4 comments

How do people feel about changing indexOf etc to return Maybe Int?

Very much in favour 👍. We already did that in purescript-arrays.

👍

This is done now.

Although the docs are out of date for some functions I think.