Abstract
dc:description.abstractLearning 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 × 1Rights
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
- Identifier URI
- https://hdl.handle.net/20.500.14905/88963
- Dc Identifier Other
- hyrax:3b591f94p