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
2
2
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.
4
4
5
5
``` scala
6
6
enum Color {
Original file line number Diff line number Diff line change @@ -3,6 +3,18 @@ sidebar:
3
3
url : blog/index.html
4
4
- title : Docs
5
5
url : docs/index.html
6
+ - title : Referece
7
+ subsection :
8
+ - title : Trait Parameters
9
+ url : docs/reference/trait-parameters.html
10
+ - title : Enumerations
11
+ url : docs/reference/enums.html
12
+ - title : Algebraic Data Types
13
+ url : docs/reference/adts.html
14
+ - title : Enum Translation
15
+ url : docs/reference/desugarEnums.html
16
+ - title : By-Name Implicits
17
+ url : docs/reference/implicit-by-name-parameters.html
6
18
- title : Usage
7
19
subsection :
8
20
- title : cbt-projects
You can’t perform that action at this time.
0 commit comments