shithub: MicroHs

ref: 37a178d694b1d62b93c38ea883c9b2df2c632f25
dir: /tests/Enum.hs/

View raw version
module Enum(main) where

data T = A | B | C
  deriving (Bounded, Enum, Show)

main :: IO ()
main = print ([minBound .. maxBound] :: [T])