Josef Svenningsson - A gradual type system - Code BEAM STO

Conference: Code BEAM STO 2018

Year: 2018

This talk introduces a new type system for Erlang based on Gradual Typing. The principles of Gradual Typing has emerged in the type system research community over the last decade and has, amongst other things, resulted in TypeScript, a typed dialect of JavaScript. Gradual Typing is tailored to mix static and dynamic code. The type system provides pay-as-you-go static checking: the more type annotation in the program, the more static checking will be performed. The tool we've developed uses Erlang's current syntax for specs, and it works on existing code bases without change. Dialyzer is currently the most popular tool for the static checking of Erlang. Our gradual type system turns out to be somewhat complementary to Dialyzer. While Dialyzer aims to give no false positives, our type system always reports an error whenever a type spec doesn't match the code. We'll provide an in-depth comparison of the two tools. OBJECTIVES Present our new type checking tool for Erlang. More details here: https://codesync.global/speaker/josef-svenningsson/