Fresh Swift
  • About
  • Tags
Fresh Swift

#Matching


Custom Types for Powerful Matching

Joshua Emmons show us how we can use Swift custom types to implement powerful pattern matching. Joshua overloads the ~= operator using newly-defined types to clean up a hard to read switch statement.

Posted on August 1, 2018

#matching 

 •  2019  •  Fresh Swift

Hugo v0.20.7 powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo