[Haskell-cafe] Type checking the content of a string