ComputingComputer ScienceContainerizationProgramming LanguagesSyntaxData TypesParameterizationType CheckingType SystemsPolymorphic Type SystemsPolymorphic TypesReconstruction AlgorithmsType ClassesType ConstructorsType ReconstructionType UnificationUnification
We propose a generalization to Haskell's type classes where a class can have type parameters besides the placeholder variable. We show that this generalization is essential to represent container classes with overloaded data constructor and selector operations. We also show that the resulting type system has principal types and present unification and type reconstruction algorithms.
11
Principal type-schemes for functional programs
Robin Milner · 1982 · 1.1K citations
Report on the programming language Haskell
Paul Hudak, Simon Peyton Jones, Philip Wadler et al. · ACM SIGPLAN Notices · 1992 · 1K citations · Full text
How to make ad-hoc polymorphism less ad hoc
Philip Wadler, Stephen Blott · 1989 · 770 citations · Full text
Philip Wadler · 1990 · 575 citations · Full text