Data types à la carte
Wouter Swierstra · Journal of Functional Programming · 2008
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.
Cited by 289 works. doi:10.1017/s0956796808006758 Open-access PDF
Authors
References
- Monad transformers and modular interpreters
- Functional programming with bananas, lenses, envelopes and barbed wire
- Category Theory
- Category Theory
- Foundations for structured programming with GADTs
- Open data types and open functions
- Beauty in the beast
- Composing monads using coproducts
- Generic unification via two-level types and parameterized modules
- Initial Algebra Semantics Is Enough!