Enumerated Types


#1

I wonder if Kotlin will support something similar to Enumerated Types. Here's an introduction to Enumerated Types in Ceylon: http://ceylon-lang.org/documentation/1.0/tour/types/#enumerated_types The motivation and usefulness of Enumerated Types is described in the provided link.

Since the recent dropping of features, they might also constitute an alternative to enums, if enums are considered to be dropped in their current form (see http://ceylon-lang.org/documentation/1.0/tour/types/#enumerated_instances)?


#2

We'll evaluate this possibility, too. Thanks


#3

This issue is related

http://youtrack.jetbrains.com/issue/KT-1753