Open Access. Powered by Scholars. Published by Universities.®

Dissertations and Theses

Theses/Dissertations

2013

Functional programming (Computer science)

Articles 1 - 1 of 1

Full-Text Articles in Programming Languages and Compilers

Type Classes And Instance Chains: A Relational Approach, John Garrett Morris Jun 2013

Type Classes And Instance Chains: A Relational Approach, John Garrett Morris

Dissertations and Theses

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 …