arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.08366cs.PL
收藏

A Gradual Type System for Elixir

Mauricio Cassola, Agustín Talagorria, Alberto Pardo, Marcos Viera

英文摘要:

Elixir is a functional programming language with dynamic typing. We propose a gradual type system that makes it possible to perform type-checking on a significant fragment of the language. An important feature of the type system is that it does not require any syntactic change to Elixir. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑