Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 483 Bytes

File metadata and controls

5 lines (4 loc) · 483 Bytes

This directory contains code from Point-Free Episode: Enum Properties

Swift makes it easy for us to access the data inside a struct via dot-syntax and key-paths, but enums are provided no such affordances. This week we correct that deficiency by defining the concept of "enum properties", which will give us an expressive way to dive deep into the data inside our enums.