Top "Non-exhaustive-patterns" questions

Non-exhaustive patterns in function

I've got a problem with this code, it should count the longest substring of the same letter in a string, …

haskell pattern-matching non-exhaustive-patterns
In Haskell, why non-exhaustive patterns are not compile-time errors?

This is a follow-up of Why am I getting "Non-exhaustive patterns in function..." when I invoke my Haskell substring function? …

haskell functional-programming non-exhaustive-patterns partial-functions