pointfreeco / swift-case-paths

🧰 Case paths extends the key path hierarchy to enum cases.
https://www.pointfree.co/collections/enums-and-structs/case-paths
MIT License
904 stars 105 forks source link

Simplify optional flattening #140

Closed stephencelis closed 8 months ago

stephencelis commented 8 months ago

Turns out we only need the Case overload.

Also documenting a few paths while I go.