Skip to content

Conversation

@kl0tl
Copy link
Member

@kl0tl kl0tl commented Dec 17, 2020

Fix #91.

@hdgarrood
Copy link
Contributor

I think this is probably a good opportunity to update the docs to make it clear what happens if you supply an index greater than the length of the string?

@kl0tl
Copy link
Member Author

kl0tl commented Dec 18, 2020

I updated the documentation of lastIndexOf' in Data.String.CodePoints, Data.String.CodeUnits and Data.String.NonEmpty.CodeUnits. I didn’t touch at Data.String.NonEmpty.CodePoints because the whole module is undocumented 😬

Copy link
Member

@thomashoneyman thomashoneyman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @kl0tl!

@JordanMartinez JordanMartinez merged commit 7a94736 into purescript:master Dec 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants