Swift: Accomplishing Dynamic Dispatch on PATs (Protocol with Associated Types)

Explanation on why we can’t perform dynamic dispatch on PATs (protocol with associated types) and how we can workaround this. Read more


Swift type checking is undecidable

More precisely, the introduction of SE-0142 and SE-0157 has made canonical type computation into an undecidable problem. I'll begin with the necessary background information before presenting my argument, and then outlining the next steps. Canonical type... (more…)

Read more »