added enum pretty printing tests

This commit is contained in:
macocianradu
2022-01-12 14:41:28 +02:00
parent a8c5438d79
commit 07d4cc73e0
10 changed files with 122 additions and 13 deletions

View File

@@ -0,0 +1,7 @@
data EnumWithoutDescription =
X
| Y
instance Show EnumWithoutDescription where
show X = "xs"
show Y = "ys"