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-patternsThis 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