This directory contains code from Point-Free Episode: Protocol Witnesses: Part 2
Last time we covered some basics with protocols, and demonstrated one of their biggest pitfalls: types can only conform to a protocol a single time. Sometimes it’s valid and correct for a type to conform to a protocol in many ways. We show how to remedy this by demonstrating that one can scrap any protocol in favor of a simple datatype, and in doing so opens up a whole world of composability.
0034-protocol-witnesses-pt2
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||