What is wrong with this function ?
test :: Show s => s
test = "asdasd"
String is an instance of the Show
class, so it seems correct.
The error is
src\Main.hs:224:7:
Couldn't match expected type `s' against inferred type `[Char]'
`s' is a rigid type variable bound by
the type signature for `test' at src\Main.hs:223:13
In the expression: "asdasd"
In the definition of `test': test = "asdasd"