shithub: MicroHs

ref: 655e90802b055f1c030bdf19c7ca3fa9e2f9cf3b
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])