mirror of
https://github.com/macocianradu/RosettaHaskellCompiler.git
synced 2026-03-18 13:00:08 +00:00
14 lines
245 B
Haskell
14 lines
245 B
Haskell
{-The enumerated values to specified the period, e.g. day, week.-}
|
|
data EnumWithoutDisplay =
|
|
{-Day-}
|
|
D
|
|
{-Month-}
|
|
| M
|
|
{-Year-}
|
|
| Y
|
|
|
|
instance Show EnumWithoutDisplay where
|
|
show D = "D"
|
|
show M = "M"
|
|
show Y = "Y"
|