Commits on Source (3)
-
Konstantin Ivanov authored
Problem: calling `show` on a list, e.g. `[Int]`, is not allowed, but it should be. Solution: add the necessary type instance.
-
Konstantin Ivanov authored
Problem: it may be tempting to add `PrettyShow` instance for `String`, but it is not a good thing for several reasons. Solution: forbid defining `PrettyShow` for `String` (and for `Text` and `ByteString` too) via defining a failing type instance, and drop a line about the motivation.
-
Konstantin Ivanov authored
[#775] Allow `show` for lists, forbid it for text-like things Closes #775 See merge request !1080