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 elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to