shithub: MicroHs

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