File Download
Supplementary

postgraduate thesis: Higher-rank polymorphism : type inference and extensions

TitleHigher-rank polymorphism : type inference and extensions
Authors
Advisors
Issue Date2021
PublisherThe University of Hong Kong (Pokfulam, Hong Kong)
Citation
Xie, N. [謝宁宁]. (2021). Higher-rank polymorphism : type inference and extensions. (Thesis). University of Hong Kong, Pokfulam, Hong Kong SAR.
AbstractType inference, as implemented in various modern programming languages, reconstructs missing types in expressions and increases programmers' productivity. Modern functional languages such as Haskell come with powerful forms of type inference. The global type-inference algorithms employed in those languages are derived from the Hindley-Milner type system, with multiple extensions. As the languages evolve, researchers also formalize the key aspects of type inference for the new extensions. This dissertation studies predicative implicit higher-rank polymorphism, where polymorphic types can be arbitrarily nested, and monomorphic types can be inferred automatically. Predicative implicit higher-rank polymorphism is a common extension that has been studied extensively in the literature, and has been used pervasively in modern statically typed programming languages. The goal of this dissertation is to explore the design space of type inference for implicit predicative higher-rank polymorphism, as well as to study its integration with other advanced type system features. The first contribution of this dissertation is a new type inference algorithm for implicit higher-rank polymorphism which can accepts programs that many existing type inference algorithms cannot. The proposed application mode provides new insights for bidirectional type checking. The second contribution is the first combination of predicative implicit higher-rank polymorphism with gradual typing, which provides a step forward in gradualizing modern functional programming languages. The third contribution is an arguably simpler algorithmic implementation of subtyping for higher-rank polymorphism. The technique developed is then further applied to the kind inference problem for datatypes, which provides a first known formal model of datatype declarations in modern functional programming languages.
DegreeDoctor of Philosophy
SubjectProgramming languages (Electronic computers)
Dept/ProgramComputer Science
Persistent Identifierhttp://hdl.handle.net/10722/307011

 

DC FieldValueLanguage
dc.contributor.advisorDos Santos Oliveira, BC-
dc.contributor.authorXie, Ningning-
dc.contributor.author謝宁宁-
dc.date.accessioned2021-11-03T04:36:42Z-
dc.date.available2021-11-03T04:36:42Z-
dc.date.issued2021-
dc.identifier.citationXie, N. [謝宁宁]. (2021). Higher-rank polymorphism : type inference and extensions. (Thesis). University of Hong Kong, Pokfulam, Hong Kong SAR.-
dc.identifier.urihttp://hdl.handle.net/10722/307011-
dc.description.abstractType inference, as implemented in various modern programming languages, reconstructs missing types in expressions and increases programmers' productivity. Modern functional languages such as Haskell come with powerful forms of type inference. The global type-inference algorithms employed in those languages are derived from the Hindley-Milner type system, with multiple extensions. As the languages evolve, researchers also formalize the key aspects of type inference for the new extensions. This dissertation studies predicative implicit higher-rank polymorphism, where polymorphic types can be arbitrarily nested, and monomorphic types can be inferred automatically. Predicative implicit higher-rank polymorphism is a common extension that has been studied extensively in the literature, and has been used pervasively in modern statically typed programming languages. The goal of this dissertation is to explore the design space of type inference for implicit predicative higher-rank polymorphism, as well as to study its integration with other advanced type system features. The first contribution of this dissertation is a new type inference algorithm for implicit higher-rank polymorphism which can accepts programs that many existing type inference algorithms cannot. The proposed application mode provides new insights for bidirectional type checking. The second contribution is the first combination of predicative implicit higher-rank polymorphism with gradual typing, which provides a step forward in gradualizing modern functional programming languages. The third contribution is an arguably simpler algorithmic implementation of subtyping for higher-rank polymorphism. The technique developed is then further applied to the kind inference problem for datatypes, which provides a first known formal model of datatype declarations in modern functional programming languages.-
dc.languageeng-
dc.publisherThe University of Hong Kong (Pokfulam, Hong Kong)-
dc.relation.ispartofHKU Theses Online (HKUTO)-
dc.rightsThe author retains all proprietary rights, (such as patent rights) and the right to use in future works.-
dc.rightsThis work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.-
dc.subject.lcshProgramming languages (Electronic computers)-
dc.titleHigher-rank polymorphism : type inference and extensions-
dc.typePG_Thesis-
dc.description.thesisnameDoctor of Philosophy-
dc.description.thesislevelDoctoral-
dc.description.thesisdisciplineComputer Science-
dc.description.naturepublished_or_final_version-
dc.date.hkucongregation2021-
dc.identifier.mmsid991044437612203414-

Export via OAI-PMH Interface in XML Formats


OR


Export to Other Non-XML Formats