Y
Hacker News
new
|
ask
|
show
|
jobs
by
perneto
4022 days ago
Now that there is an apparently superior alternative, do you plan to do something to eliminate the existing enum pattern explained at
http://ceylon-lang.org/documentation/1.1/tour/types/#enumera...
?
1 comments
gavinking
4022 days ago
No, because that pattern is still strictly more powerful. With enumerated classes I can have cases which are a class rather than just a singleton instance.
link