Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Solving Constraints During Type Inference - WITS'24

ACM SIGPLAN via YouTube

Overview

Explore the intricacies of type inference in GHC through this 33-minute conference talk from ACM SIGPLAN's WITS'24. Delve into Simon Peyton Jones' comprehensive overview of GHC's unique approach to type inference, which employs Pottier and Rémy's method of generating and solving constraints separately. Gain insights into key concepts such as bidirectional type inference, implication constraints, level numbers and promotion, evidence generation, and quantified constraints. Learn how these elements work together to create a robust type inference engine, and understand the challenges and solutions encountered during its implementation. Discover how GHC's approach supports advanced features like type abstraction and GADTs, and explore the interplay between type-level and term-level evidence generation.

Syllabus

[WITS'24] Solving constraints during type inference

Taught by

ACM SIGPLAN

Reviews

Start your review of Solving Constraints During Type Inference - WITS'24

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.