shithub: MicroHs

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