Principal Type Inference
27 July 2026, 12:00, Skaidrite Darius Level 2 - Systems Area
Speaker:
Carlo Zancanaro
(ANU)
Abstract#
Programming languages with generic types usually try to perform type inference, so the compiler can work out that List.of(10) is a List<Integer> without us having to write it down. The problem of inferring types is more complicated with subtyping, where we may have to choose one of multiple valid types for the same value. In this talk I'll discuss some of the problems with existing type inference algorithms, and our attempts to ensure principal type inference.