[Haskell-cafe] Typeclass for functions taking different kinds of strings