Affiliation:
1. University of New South Wales
2. Microsoft Research Ltd., Cambridge, UK
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.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
62 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献