Enums & Pattern Matching
0 of 11 doneLearn how to define custom types with enums and use match for powerful pattern matching!
LessonUp next
Enums and Match
Exercise 1Required
Traffic Light
Exercise 2Required
Day Type
Exercise 3Required
Fix the Match
Exercise 4Required
Animal Sound
Exercise 5Required
Coin Value
Exercise 6Required
Fix the Enum
Exercise 7Required
Shape Area
Exercise 8Optional
Option Finder
Exercise 9Optional
Fix the Option
Exercise 10Optional
Rock Paper Scissors
Next chapter · Ownership & Borrowing
Finish 7 more required tasks to unlock it.