Re:Embedded Swift on the Raspberry Pi Pico
by wilg on Wednesday March 06, 2024 @02:25AM
(#39613254)
I don't think Swift's enum with associated values are pattern matching. You can use pattern matching to unpack them though. (https://docs.swift.org/swift-book/documentation/the-swift-pr...)
[ Parent
| on HN ]