{"id":{"repo_id":"portland-state","oai_identifier":"oai:pdxscholar.library.pdx.edu:open_access_etds-2009"},"canonical_url":"https://search.ndltd.org/etd/portland-state/oai:pdxscholar.library.pdx.edu:open_access_etds-2009","repository":{"repo_id":"portland-state","name":"Portland State University","base_url":"https://pdxscholar.library.pdx.edu/do/oai/"},"display":{"title":"Type Classes and Instance Chains: A Relational Approach","abstract":"Type classes, first proposed during the design of the Haskell programming language, extend standard type systems to support overloaded functions. Since their introduction, type classes have been used to address a range of problems, from typing ordering and arithmetic operators to describing heterogeneous lists and limited subtyping. However, while type class programming is useful for a variety of practical problems, its wider use is limited by the inexpressiveness and hidden complexity of current mechanisms. We propose two improvements to existing class systems. First, we introduce several novel language features, instance chains and explicit failure, that increase the expressiveness of type classes while providing more direct expression of current idioms. To validate these features, we have built an implementation of these features, demonstrating their use in a practical setting and their integration with type reconstruction for a Hindley-Milner type system. Second, we define a set-based semantics for type classes that provides a sound basis for reasoning about type class systems, their implementations, and the meanings of programs that use them.","abstract_html":"Type classes, first proposed during the design of the Haskell programming language, extend standard type systems to support overloaded functions. Since their introduction, type classes have been used to address a range of problems, from typing ordering and arithmetic operators to describing heterogeneous lists and limited subtyping. However, while type class programming is useful for a variety of practical problems, its wider use is limited by the inexpressiveness and hidden complexity of current mechanisms. We propose two improvements to existing class systems. First, we introduce several novel language features, instance chains and explicit failure, that increase the expressiveness of type classes while providing more direct expression of current idioms. To validate these features, we have built an implementation of these features, demonstrating their use in a practical setting and their integration with type reconstruction for a Hindley-Milner type system. Second, we define a set-based semantics for type classes that provides a sound basis for reasoning about type class systems, their implementations, and the meanings of programs that use them.","abstract_has_math":false,"creators":["Morris, John Garrett"],"institution":null,"degree_name":"Doctor of Philosophy (Ph.D.) in Computer Science","degree_level":"Dissertation","degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":["Mark P. Jones"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-27T05:20:46Z","subjects":["Functional programming languages","Haskell (Computer program language)","Functional programming (Computer science)","Programming Languages and Compilers"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://pdxscholar.library.pdx.edu/open_access_etds/1010","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://pdxscholar.library.pdx.edu/open_access_etds/1010","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aportland-state%3Aoai%3Apdxscholar.library.pdx.edu%3Aopen_access_etds-2009","prefix":"oai_dc"},"source_record":{"url":"https://pdxscholar.library.pdx.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Apdxscholar.library.pdx.edu%3Aopen_access_etds-2009","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Mark P. Jones"]},{"key":"dc:creator","label":"Author","values":["Morris, John Garrett"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.available","label":"Dc Date Available","values":["1970-01-01T08:00:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2013-06-04T07:00:00Z"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Dissertation"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy (Ph.D.) in Computer Science"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Functional programming languages","Haskell (Computer program language)","Functional programming (Computer science)","Programming Languages and Compilers"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://pdxscholar.library.pdx.edu/open_access_etds/1010"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Type classes, first proposed during the design of the Haskell programming language, extend standard type systems to support overloaded functions. Since their introduction, type classes have been used to address a range of problems, from typing ordering and arithmetic operators to describing heterogeneous lists and limited subtyping. However, while type class programming is useful for a variety of practical problems, its wider use is limited by the inexpressiveness and hidden complexity of current mechanisms. We propose two improvements to existing class systems. First, we introduce several novel language features, instance chains and explicit failure, that increase the expressiveness of type classes while providing more direct expression of current idioms. To validate these features, we have built an implementation of these features, demonstrating their use in a practical setting and their integration with type reconstruction for a Hindley-Milner type system. Second, we define a set-based semantics for type classes that provides a sound basis for reasoning about type class systems, their implementations, and the meanings of programs that use them."]},{"key":"dc:title","label":"Title","values":["Type Classes and Instance Chains: A Relational Approach"]}]}],"canonical_facts":{"dc:contributor":["Mark P. Jones"],"dc:creator":["Morris, John Garrett"],"dc:date.available":["1970-01-01T08:00:00Z"],"dc:date.created":["2013-06-04T07:00:00Z"],"dc:description.abstract":["Type classes, first proposed during the design of the Haskell programming language, extend standard type systems to support overloaded functions. Since their introduction, type classes have been used to address a range of problems, from typing ordering and arithmetic operators to describing heterogeneous lists and limited subtyping. However, while type class programming is useful for a variety of practical problems, its wider use is limited by the inexpressiveness and hidden complexity of current mechanisms. We propose two improvements to existing class systems. First, we introduce several novel language features, instance chains and explicit failure, that increase the expressiveness of type classes while providing more direct expression of current idioms. To validate these features, we have built an implementation of these features, demonstrating their use in a practical setting and their integration with type reconstruction for a Hindley-Milner type system. Second, we define a set-based semantics for type classes that provides a sound basis for reasoning about type class systems, their implementations, and the meanings of programs that use them."],"dc:identifier":["https://pdxscholar.library.pdx.edu/open_access_etds/1010"],"dc:subject":["Functional programming languages","Haskell (Computer program language)","Functional programming (Computer science)","Programming Languages and Compilers"],"dc:title":["Type Classes and Instance Chains: A Relational Approach"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Dissertation"],"thesis:degree_name":["Doctor of Philosophy (Ph.D.) in Computer Science"]},"updated_at":"2026-11-27T05:20:46Z"}