shithub: MicroHs

ref: 46879fde32f83a510e87072fe59a6997f4265e30
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])