Associated type synonyms

Manuel M.T. Chakravarty*, Gabriele Keller, Simon Peyton Jones

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

Abstract

Haskell programmers often use a multi-parameter type class in which one or more type parameters are functionally dependent on the first. Although such functional dependencies have proved quite popular in practice, they express the programmer's intent somewhat indirectly. Developing earlier work on associated data types, we propose to add functionally-dependent types as type synonyms to type-class bodies. These associated type synonyms constitute an interesting new alternative to explicit functional dependencies.

Original languageEnglish
Title of host publicationICFP 2005 - Proceedings of the 10th ACM SIGPLAN International Conference on Functional Programming
Pages241-253
Number of pages13
DOIs
Publication statusPublished - 1 Dec 2005
Externally publishedYes
Event10th ACM SIGPLAN International Conference on Functional Programming, ICFP 2005 - Tallinn, Estonia
Duration: 26 Sept 200528 Sept 2005

Conference

Conference10th ACM SIGPLAN International Conference on Functional Programming, ICFP 2005
Country/TerritoryEstonia
CityTallinn
Period26/09/0528/09/05

Keywords

  • Associated types
  • Generic programming
  • Type classes
  • Type functions
  • Type inference

Fingerprint

Dive into the research topics of 'Associated type synonyms'. Together they form a unique fingerprint.

Cite this