TYPE CLASSES IN HASKELL

Citation
Cv. Hall et al., TYPE CLASSES IN HASKELL, ACM transactions on programming languages and systems, 18(2), 1996, pp. 109-138
Citations number
39
Categorie Soggetti
Computer Sciences","Computer Science Software Graphycs Programming
ISSN journal
01640925
Volume
18
Issue
2
Year of publication
1996
Pages
109 - 138
Database
ISI
SICI code
0164-0925(1996)18:2<109:TCIH>2.0.ZU;2-Y
Abstract
This article defines a set of type inference rules for resolving overl oading introduced by type classes, as used in the functional programmi ng language Haskell. Programs including type classes are transformed i nto ones which may be typed by standard Hindley-Milner inference rules . In contrast to other work on type classes, the rules presented here relate directly to Haskell programs. An innovative aspect of this work is the use of second-order lambda calculus to record type information in the transformed program.