File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1- # Enums
1+ # Enumerations
22
3- The most basic use of enums is as enumerations of simple values:
3+ An enumeration is used to define a type consisting of a set of named values.
44
55``` scala
66enum Color {
Original file line number Diff line number Diff line change 11sidebar :
22 - title : Blog
33 url : blog/index.html
4+ - title : Reference
5+ subsection :
6+ - title : Trait Parameters
7+ url : docs/reference/trait-parameters.html
8+ - title : Enumerations
9+ url : docs/reference/enums.html
10+ - title : Algebraic Data Types
11+ url : docs/reference/adts.html
12+ - title : Enum Translation
13+ url : docs/reference/desugarEnums.html
14+ - title : By-Name Implicits
15+ url : docs/reference/implicit-by-name-parameters.html
416 - title : Usage
517 subsection :
618 - title : cbt-projects
You can’t perform that action at this time.
0 commit comments