Hide metadata

dc.contributor.authorKarlsen, Leif Harald
dc.date.accessioned2015-01-05T23:01:02Z
dc.date.available2015-01-05T23:01:02Z
dc.date.issued2013
dc.identifier.citationKarlsen, Leif Harald. A Study In Monads. Master thesis, University of Oslo, 2013
dc.identifier.urihttp://hdl.handle.net/10852/41812
dc.description.abstractThis thesis investigates both theory and applications of the monad in a functional setting. Monads are constructs simulating different types of computations, such as indeterminism, exception handling, stateful computations, IO, and much more, all in the functional paradigm. The thesis starts by defining the monad, and builds up the theory around it. Three large implementaional examples using monads are presented: One implementation of a small interpreter for lambda calculus with graph sharing, one framework for writing symmetric cryptographic algorithms, and one more theoretical construction of a catamorphism and comprehension based monadic query language. All of these examples uses combinations of several monads to form complex computations with a high level of expressiveness. Other related constructs are discussed, as well as a presentation of the foundation for monads in category theory. A new monad is also introduced, the Pair monad. This monad is a generalisation of the list monad, and simulates substitution in tree-like structures, such as lambda terms. Furthermore, the thesis makes an investigation into the Curry-Howard Correspondence with a first order lambda calculus extended with monads, called computational lambda calculus. This results in a sublogic of constructive S4 modal logic. The thesis also uses the Kripke semantic for this logic to deduce a Kripke semantic for type setting lambda terms in computational lambda calculus.eng
dc.language.isoeng
dc.subjectmonad
dc.subjectfunctional
dc.subjectprogramming
dc.subjectcurry
dc.subjecthoward
dc.subjectcorresondence
dc.subjecthaskell
dc.subjectquery
dc.subjectcomprehensions
dc.subjectcryprography
dc.subjectcategory
dc.subjecttheory
dc.titleA Study In Monadseng
dc.typeMaster thesis
dc.date.updated2015-01-05T23:01:02Z
dc.creator.authorKarlsen, Leif Harald
dc.identifier.urnURN:NBN:no-46231
dc.type.documentMasteroppgave
dc.identifier.fulltextFulltext https://www.duo.uio.no/bitstream/handle/10852/41812/1/A_Study_In_Monads.pdf


Files in this item

Appears in the following Collection

Hide metadata