emilien-io/swift-phantom-type-example
In this project, we are trying to demonstrate the power of phantom types. Based on a class custom type, we show how we could handle generic bank transfers to local account (USD to USD) and specific transfers (USD to EUR) while adding type-checks at compile time.
Swift
Stargazers
No one’s star this repository yet.