Towards a Categorical Semantics of Type Classes
Keyword(s):
This is an exercise in the description of programming languages as indexed categories. Type classes have been introduced into functional programming languages to provide a uniform framework for ‘overloading’. We establish a correspondence between type classes and comprehension schemata in categories. A coherence result allows us to describe subclasses and implicit conversions between types.
2009 ◽
Vol 19
(3-4)
◽
pp. 403-438
◽
1999 ◽
Vol 9
(1)
◽
pp. 93-104
◽
2006 ◽
Vol 151
(3)
◽
pp. 27-45
Keyword(s):
1994 ◽
Vol 4
(1)
◽
pp. 47-63
◽
1998 ◽
Vol 8
(1)
◽
pp. 1-22
◽