mirror of
https://github.com/macocianradu/RosettaHaskellCompiler.git
synced 2026-03-18 21:10:07 +00:00
added enum pretty printing tests
This commit is contained in:
7
resources/Enums/haskellEnum3.hs
Normal file
7
resources/Enums/haskellEnum3.hs
Normal file
@@ -0,0 +1,7 @@
|
||||
data EnumWithoutDescription =
|
||||
X
|
||||
| Y
|
||||
|
||||
instance Show EnumWithoutDescription where
|
||||
show X = "xs"
|
||||
show Y = "ys"
|
||||
Reference in New Issue
Block a user