activity
20112026
most citedOn Global Types and Multi-Party Session

102 citations · 202 across the 10 of their papers we have counts for

collaborators
Showing cs.PLShow all

12 papers · 1 filter

cs.PL2026

You Have Mail: Set-Theoretic Types for Actors

Giuseppe Castagna, Luca Padovani, Daniele Varacca +1

We present a type system for the processes of Elixir, a dynamic language based on the actor model whose static type system covers only its functional core. Each process is typed by…

cs.PL2026

From Strong Normalization to WhatsApp: the Journey of an Axiom

Giuseppe Castagna

Twenty years ago, Mariangiola Dezani-Ciancaglini, Daniele Varacca and I showed that Milner's classic encoding of functions into processes does not respect one of the laws of inters…

cs.PL2024★ 1 cited

Polymorphic Records for Dynamic Languages

Giuseppe Castagna, Loïc Peyrot

We define and study "row polymorphism" for a type system with set-theoretic types, specifically union, intersection, and negation types. We consider record types that embed row var…

cs.PL2023★ 13 cited

Polymorphic Type Inference for Dynamic Languages

Giuseppe Castagna, Mickaël Laurent, Kim Nguyen

We present a type system that combines, in a controlled way, first-order polymorphism with intersectiontypes, union types, and subtyping, and prove its safety. We then define a typ…

cs.PL2023★ 9 cited

The Design Principles of the Elixir Type System

Giuseppe Castagna, Guillaume Duboc, José Valim

Elixir is a dynamically-typed functional language running on the Erlang Virtual Machine, designed for building scalable and maintainable applications. Its characteristics have earn…

cs.PL2021★ 9 cited

Programming with union, intersection, and negation types

Giuseppe Castagna

In this essay, I present the advantages and, I dare say, the beauty of programming in a language with set-theoretic types, that is, types that include union, intersection, and nega…

cs.PL2019★ 1 cited

Revisiting Occurrence Typing

Giuseppe Castagna, Victor Lanvin, Mickaël Laurent +1

We revisit occurrence typing, a technique to refine the type of variables occurring in type-cases and, thus, capturesome programming patterns used in untyped languages. Although oc…

cs.PL2018★ 3 cited

Semantic subtyping for non-strict languages

Tommaso Petrucciani, Giuseppe Castagna, Davide Ancona +1

Semantic subtyping is an approach to define subtyping relations for type systems featuring union and intersection type connectives. It has been studied only for strict languages, a…

cs.PL2018★ 6 cited

Covariance and Controvariance: a fresh look at an old issue (a primer in advanced type systems for learning functional programmers)

Giuseppe Castagna

Twenty years ago, in an article titled "Covariance and contravariance: conflict without a cause", I argued that covariant and contravariant specialization of method parameters in o…

cs.PL2016★ 27 cited

Set-Theoretic Types for Polymorphic Variants

Giuseppe Castagna, Tommaso Petrucciani, Kim Nguyen

Polymorphic variants are a useful feature of the OCaml language whose current definition and implementation rely on kinding constraints to simulate a subtyping relation via unifica…

cs.PL2013★ 31 cited

Static and dynamic semantics of NoSQL languages

Véronique Benzaken, Giuseppe Castagna, Kim Nguy\~ên +1

We present a calculus for processing semistructured data that spans differences of application area among several novel query languages, broadly categorized as "NoSQL". This calcul…

cs.PL2012★ 102 cited

On Global Types and Multi-Party Session

Giuseppe Castagna, Mariangiola Dezani-Ciancaglini, Luca Padovani

Global types are formal specifications that describe communication protocols in terms of their global interactions. We present a new, streamlined language of global types equipped…