2009Unpublished venueRequires access

Towards Getting Generic Programming Ready for Prime Time

Alexey Rodriguez Yakushev

Open publisher page 52 citations

Abstract

This thesis aims at making Datatype Generic Programming more useful in practice. We extend the fixed-point view as introduced by PolyP in order to support systems of mutually recursive datatypes. The new improved view allows us to define generic functions that were previously usable only on regular datatypes. Such examples of generic functions include the zipper, generic rewriting and fold. This thesis explores the problem of generic rewriting and that of extending a datatype with a meta-variable case without modifying its definition. We also compare various approaches to generic programming in Haskell. Finally, we apply generic programming to the problem of generating well-typed terms.

About this research paper

What this paper is about

This thesis aims at making Datatype Generic Programming more useful in practice. We extend the fixed-point view as introduced by PolyP in order to support systems of mutually recursive datatypes. The new improved view allows us to define generic functions that were previously usable only on regular datatypes. Such examples of generic functions include the zipper, generic rewriting and fold. This thesis explores the problem of generic rewriting and that of extending a datatype with a meta-variable case without modifying its definition. We also compare various approaches to generic programming in Haskell. Finally, we apply generic programming to the problem of generating well-typed terms.

Why it matters

OpenAlex reports 52 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

This thesis aims at making Datatype Generic Programming more useful in practice. We extend the fixed-point view as introduced by PolyP in order to support systems of mutually recursive datatypes. The new improved view allows us to define generic functions that were previously usable only on regular datatypes. Such examples of generic functions include the zipper, generic rewriting and fold. This thesis explores the problem of generic rewriting and that of extending a datatype with a meta-variable case without modifying its definition. We also compare various approaches to generic programming in Haskell. Finally, we apply generic programming to the problem of generating well-typed terms.

Key concepts: Generic programming, Rewriting, Haskell, Computer science, Programming language, USable, Zipper, Functional programming

Related papers

Back to paper searchBrowse research topicsOriginal source
Towards Getting Generic Programming Ready for Prime Time — Research Paper | ScholarLens