Published July 3, 2020 | Version v2
Preprint Open

Towards a more perfect union type

Authors/Creators

  • 1. Migamake Pte Ltd

Description

We present a principled theoretical framework for dealing with 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.
 

Files

towards-better-union.pdf

Files (167.6 kB)

Name Size Download all
md5:9f2dd4ed3489e6c4995aec79ea15a2b7
167.6 kB Preview Download