Work

Matching and Modifying with Generics

Year: 2008
Type: conference-paper
Abstract: Haskell has powerful features such as pattern matching and recursive data types for building tree structures easily. These features are not without problems, however: patterns are not composable and cannot be abbreviated; it can be hard to modify a specific part of a large tree structure without unique identifiers. This paper explains how a particular Haskell generics approach, Scrap Your Boilerplate, can be used to solve both of these problems in Haskell, without the need for meta-programming or new language features.
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W2285515474
FWCI: 0.186
Cites: 11
Cited by: 2
Related to: 10