Back to search

McGill University

Modern type error localization in education

Abstract

dc:description.abstract

Learning the functional programming paradigm is often difficult for students.Strong, static type systems with parametric polymorphism are common to functionallanguages such as OCaml and Haskell, but are widely observedto be a major source of difficulty for students and other novices.In this work, we seek to better understand the challenges faced by students and other functionalprogramming novices in order to assist their learning, with a focus on type errors they encounter.Primarily, we explore the ``type error localization'' problem,and develop a tool implementing an improvement on an existing algorithm based on Maximum Satisfiability.We evaluate the tool in the context of student submissions to homework assignments in a functionalprogramming course and determine that, in many cases, our tool would have directed students to the errorin their code when the compiler did not.Our analysis of our approach uses a much larger dataset than previous analyses of similar algorithms,and affirms that Maximum Satisfiability is a practical approach to type error localization.Our tool, Tyro, is available on GitHub

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Kopinsky, Max
Advisor dc:contributor.advisor
  • Brigitte Pientka (Supervisor)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
1598294856
Dc Identifier Other
hyrax:3b591f94p

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Kopinsky, Max. Modern type error localization in education. McGill University, 2025. https://doi.org/10.82308/49447