Phil Tseng's Blog

Sum Algebraic Data Types in Haskell and Swift

"Grove Park Traincare Depot and sidings" (CC BY-SA 2.0) by train_photos

Engineers at Metal Toad participate in a variety of continuing education such as the Hackathon, dedicated time for professional development, and various interest groups for a variety of topics like machine learning and iOS/Android development.


I recently joined the interest group on functional programming in Haskell. We start with an introduction to Algebraic Data Types.

By Phil Tseng, Software Engineer
November 2, 2017

Leveraging Structs and Generics in the Networking Layer with Swift 4 (An update to Swift Talk)

Swift Talk #1 and #8 introduces an approach (hereinafter alternative approach) to using structs and generics to build a networking layer in Foundation.

The original code was written in Swift 2.2. Here, I will make an update for Swift 4, incorporating the use of newly available JSON parsing features. I will also show how it could be extended to fetch images.

By Phil Tseng, Software Engineer
October 23, 2017

Ready for transformation?