Polymorphic functions with set-theoretic types: part 1: syntax, semantics, and evaluation
Polymorphic functions with set-theoretic types: part 1: syntax, semantics, and evaluation
复制标题
DOI:
10.1145/2535838.2535840
复制
发表时间:
2014-01
期刊:
影响因子:
--
通讯作者:
Giuseppe Castagna;K. Nguyen;Zhiwu Xu;Hyeonseung Im;Sergueï Lenglet;L. Padovani
中科院分区:
文献类型:
--
作者:
Giuseppe Castagna;K. Nguyen;Zhiwu Xu;Hyeonseung Im;Sergueï Lenglet;L. Padovani
This article is the first part of a two articles series about a calculus with higher-order polymorphic functions, recursive types with arrow and product type constructors and set-theoretic type connectives (union, intersection, and negation). In this first part we define and study the explicitly-typed version of the calculus in which type instantiation is driven by explicit instantiation annotations. In particular, we define an explicitly-typed lambda-calculus with intersection types and an efficient evaluation model for it. In the second part, presented in a companion paper, we define a local type inference system that allows the programmer to omit explicit instantiation annotations, and a type reconstruction system that allows the programmer to omit explicit type annotations. The work presented in the two articles provides the theoretical foundations and technical machinery needed to design and implement higher-order polymorphic functional languages for semi-structured data.