Sound and decidable type inference for functional dependencies

14Citations
Citations of this article
10Readers
Mendeley users who have this article in their library.

Abstract

Functional dependencies are a popular and useful extension to Haskell style type classes. In this paper, we give a reformulation of functional dependencies in terms of Constraint Handling Rules (CHRs). In previous work, CHRs have been employed for describing user-programmable type extensions in the context of Haskell style type classes. Here, we make use of CHRs to provide for the first time a concise result that under some sufficient conditions, functional dependencies allow for sound and decidable type inference. The sufficient conditions imposed on functional dependencies can be very limiting. We show how to safely relax these conditions. © Springer-Verlag 2004.

Cite

CITATION STYLE

APA

Duck, G. J., Peyton-Jones, S., Stuckey, P. J., & Sulzmann, M. (2004). Sound and decidable type inference for functional dependencies. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2986, 49–63. https://doi.org/10.1007/978-3-540-24725-8_5

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free