shithub: MicroHs

ref: 1ae323f927922ea500097175e2dfebaa1776cb15
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])