A Gradual Type System for Elixir
A Gradual Type System for Elixir
复制标题
Elixir 的渐进类型系统
DOI:
10.1145/3427081.3427084
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
Marcos Viera
中科院分区:
文献类型:
--
作者:
Mauricio Cassola;Agustín Talagorria;Alberto Pardo;Marcos Viera
Elixir is a functional programming language with dynamic typing. In this paper we propose a type system that makes it possible to perform static type-checking on a significant fragment of Elixir. An important feature of the type system we introduce is that it does not require any syntactic change to the language. Type information is provided by means of function signatures which are declared in terms of Elixir typespec directives. The proposed type system is based on subtyping and is backward compatible, as it allows the presence of untyped code fragments. We have implemented a prototype of the type-checker in Elixir itself.
影响因子:
--
作者:
Castagna, Giuseppe;Lanvin, Victor;Petrucciani, Tommaso;Siek, Jeremy G.
通讯作者:
Siek, Jeremy G.