- Library Home /
- Search Collections /
- Open Collections /
- Browse Collections /
- UBC Theses and Dissertations /
- Notions of category theory in functional programming
Open Collections
UBC Theses and Dissertations
UBC Theses and Dissertations
Notions of category theory in functional programming Gammon, Shauna C. A.
Abstract
We present a detailed examination of applications of category theory to functional programming languages, with a primary focus on monads in Haskell. First, we explore E. Moggi's work in categorical semantics, which provides the theoretical foundation for employing monads in functional languages. In particular, we examine his use of Kleisli triples to model notions of computation. We then study P. Wadler's implementation of Moggi's ideas as a means to mimic side-effects in the purely functional language Haskell. We explicitly demonstrate the connections between Kleisli triples, categorytheoretic monads, and Haskell monads. It is our principal aim to provide a coherent translation between the abstracted concept of monads that exists in category theory, and the formulation of monads as type-constructors that is implemented in Haskell.
Item Metadata
Title |
Notions of category theory in functional programming
|
Creator | |
Publisher |
University of British Columbia
|
Date Issued |
2007
|
Description |
We present a detailed examination of applications of category theory to functional
programming languages, with a primary focus on monads in Haskell.
First, we explore E. Moggi's work in categorical semantics, which provides
the theoretical foundation for employing monads in functional languages.
In particular, we examine his use of Kleisli triples to model notions of computation.
We then study P. Wadler's implementation of Moggi's ideas as
a means to mimic side-effects in the purely functional language Haskell.
We explicitly demonstrate the connections between Kleisli triples, categorytheoretic
monads, and Haskell monads. It is our principal aim to provide a
coherent translation between the abstracted concept of monads that exists
in category theory, and the formulation of monads as type-constructors that
is implemented in Haskell.
|
Genre | |
Type | |
Language |
eng
|
Date Available |
2011-02-24
|
Provider |
Vancouver : University of British Columbia Library
|
Rights |
For non-commercial purposes only, such as research, private study and education. Additional conditions apply, see Terms of Use https://open.library.ubc.ca/terms_of_use.
|
DOI |
10.14288/1.0080357
|
URI | |
Degree | |
Program | |
Affiliation | |
Degree Grantor |
University of British Columbia
|
Campus | |
Scholarly Level |
Graduate
|
Aggregated Source Repository |
DSpace
|
Item Media
Item Citations and Data
Rights
For non-commercial purposes only, such as research, private study and education. Additional conditions apply, see Terms of Use https://open.library.ubc.ca/terms_of_use.