2008
DOI: 10.1017/s0956796808006758
|View full text |Cite
|
Sign up to set email alerts
|

Data types à la carte

Abstract: This paper describes a technique for assembling both data types and functions from isolated individual components. We also explore how the same technology can be used to combine free monads and, as a result, structure Haskell's monolithic IO monad.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
167
0

Year Published

2012
2012
2020
2020

Publication Types

Select...
6
1

Relationship

0
7

Authors

Journals

citations
Cited by 231 publications
(167 citation statements)
references
References 7 publications
0
167
0
Order By: Relevance
“…However, without a term representation based on pattern/shape functors (Swierstra, 2008), there is no way to express the type inhabited by the intermediate result after applying the algorithm to a node's sub-expressions before applying it to the node itself. We settle for wrapping and unwrapping the generated variable names with the Lit constructor.…”
Section: Benchmark: Tseitin Transformationmentioning
confidence: 99%
“…However, without a term representation based on pattern/shape functors (Swierstra, 2008), there is no way to express the type inhabited by the intermediate result after applying the algorithm to a node's sub-expressions before applying it to the node itself. We settle for wrapping and unwrapping the generated variable names with the Lit constructor.…”
Section: Benchmark: Tseitin Transformationmentioning
confidence: 99%
“…In this section, we review the modular approach to datatypes and functions over them put forward by Swierstra [15], known as datatypesà la carte, and show how it can be used to obtain modular syntax and semantics for the language Expr previously described.…”
Section: Modular Syntax and Semanticsmentioning
confidence: 99%
“…Given a functor f, it is convenient to use a fold operator (sometimes called a catamorphism) [10] in order to define functions over Fix f [15]:…”
Section: Datatypesà La Cartementioning
confidence: 99%
See 2 more Smart Citations