> String.indices "" "Goodbye, Cruel World!"

Nathan, that's not a error anymore, I submitted a pull request to fix it 
and it was merged a couple months ago.

On Thursday, September 8, 2016 at 10:27:04 AM UTC+2, Nathan Schultz wrote:
>
> A run-time error that stung me today is if you accidentally pass an empty 
> string to String.indices. i.e.:
>
>
> String.indices "" "Goodbye, Cruel World!"
>
>
> I would have expected it simply returned a [] rather than just crashing.
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to