March 2018
Beginner
381 pages
7h 45m
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 use Boolean guards to generalize the pattern-matching of the match construct
Instead of writing the following code:
Read now
Unlock full access