paper

Towards a more perfect union type

arXiv:2011.03076 · doi:10.5281/zenodo.3929474

Abstract

We present a principled theoretical framework for inferring and checking the union types, and show its work in practice on JSON data structures. The framework poses a union type inference as a learning problem from multiple examples. The categorical framework is generic and easily extensible.

Towards a more perfect union type · wovepaper