January 2022
Beginner
424 pages
8h 8m
English
How enums help in defining variables that can take on values only from a finite set of cases
How enums can be used to implement discriminated union types
How to use the match pattern-matching construct to handle enums
How to use the match construct to handle other data types, like integer numbers, strings, and single characters
How to define enumerations containing fields of data and how to match them with literals
How to define variables in patterns of match statements
How to use match expressions ...