Back to search

Graduate Studies

Universally Quantified Type Inference

Abstract

dc:description.abstract

Haskell’s type system is based on the Hindley–Milner type system, which supports only rank-1 types. As functional languages have evolved, higher-rank types have been recognized as being useful for expressing more general abstract functions. Peyton Jones et al. introduced a type inference algorithm for universally quantified types in Haskell. Full type inference for higher-ranked types is undecidable and consequently it often requires explicit type annotations to facilitate type inference. In this work, we propose a new algorithm for inferring these types. Our approach is demonstrated using a minimal programming language syntax and provides a modular method for inferring higher-ranked types. The inference process is organized into two distinct steps: generating type equations and then solving them. By separating the collection of equations from their resolution, this thesis gives a more modular inference algorithm, which is slightly more general than the bidirectional system introduced by Peyton Jones.

Degree

thesis:*
Name thesis:degree_name
Master of Science (MSc)
Discipline thesis:degree_discipline
Computer Science
Grantor dc:publisher.institution
Graduate Studies
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Daneshmandjahromi, Saina
Advisor dc:contributor.advisor
  • Cockett, Robin
Committee members dc:contributor.committeemember
  • Fong, Philip
  • Zach, Richard

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission.
Language dc:language.iso
en

Identifiers

dc:identifier.*
Dc Identifier Citation
Daneshmandjahromi, S. (2025). Universally quantified type inference (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.

Chain of custody

source
Harvested from
University of Calgary
Base URL
ucalgary.scholaris.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Daneshmandjahromi, Saina. Universally Quantified Type Inference. Graduate Studies, 2025. https://hdl.handle.net/1880/123173