Abstract
There are a number of extended forms of algebraic data types such as type classes with existential types and generalized algebraic data types. Such extensions are highly useful but their interaction has not been studied formally so far. Here, we present a unifying framework for these extensions. We show that the combination of type classes and generalized algebraic data types allows us to express a number of interesting properties which are desired by programmers. We support type checking based on a novel constraint solver. Our results show that our system is practical and greatly extends the expressive power of languages such as Haskell and ML.
| Original language | English |
|---|---|
| Title of host publication | Functional and Logic Programming |
| Subtitle of host publication | 8th International Symposium, FLOPS 2006, Proceedings |
| Pages | 47-64 |
| Number of pages | 18 |
| DOIs | |
| Publication status | Published - 17 Jul 2006 |
| Externally published | Yes |
| Event | International Symposium on Functional and Logic Programming 2006 - Fuji-Susono, Japan Duration: 24 Apr 2005 → 26 Apr 2005 Conference number: 8th |
Publication series
| Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
|---|---|
| Volume | 3945 LNCS |
| ISSN (Print) | 0302-9743 |
| ISSN (Electronic) | 1611-3349 |
Conference
| Conference | International Symposium on Functional and Logic Programming 2006 |
|---|---|
| Abbreviated title | FLOPS 2006 |
| Country/Territory | Japan |
| City | Fuji-Susono |
| Period | 24/04/05 → 26/04/05 |
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver