Proceedings of the Seventh ACM SIGPLAN Workshop on Generic Programming 2011
DOI: 10.1145/2036918.2036926
|View full text |Cite
|
Sign up to set email alerts
|

Towards a categorical foundation for generic programming

Abstract: Generic Haskell is an extension of Haskell that supports datatypegeneric programming. The central idea of Generic Haskell is to interpret a type by a function, the so-called instance of a generic function at that type. Since types in Haskell include parametric types such as 'list of', Generic Haskell represents types by terms of the simply-typed lambda calculus. This paper puts the idea of interpreting types as functions on a firm theoretical footing, exploiting the fact that the simply-typed lambda calculus c… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1

Citation Types

0
3
0

Year Published

2012
2012
2021
2021

Publication Types

Select...
2
1
1

Relationship

1
3

Authors

Journals

citations
Cited by 4 publications
(3 citation statements)
references
References 19 publications
0
3
0
Order By: Relevance
“…The reason we have chosen the iTask system as host for our web-editors for DSLs is that it can derive those editors for algebraic datatypes. This is done by type generic programming [1,4,8]. The idea is that Clean knows how to transform between a datatype and its generic representation.…”
Section: Algebraic Data Types For Queriesmentioning
confidence: 99%
“…The reason we have chosen the iTask system as host for our web-editors for DSLs is that it can derive those editors for algebraic datatypes. This is done by type generic programming [1,4,8]. The idea is that Clean knows how to transform between a datatype and its generic representation.…”
Section: Algebraic Data Types For Queriesmentioning
confidence: 99%
“…One advantage of Haskell is that the introduction of memoization can be performed easily, as demonstrated by Hinze 6 . Furthermore, the ideas from that article are implemented in the package Data.MemoTrie 7 .…”
Section: Memoizationmentioning
confidence: 99%
“…In our setting, this allows us to carry around information about the auxiliary function. In fact, this technique of using a slice category has been used to give a semantics to generic functions by the authors in (Hinze & Wu, 2011); much of the background required is identical, and we repeat it here.…”
Section: Detour: Zygomorphisms From Slice Categoriesmentioning
confidence: 99%