SourceForge.net Logo
project summary

 

Type Constructor Classes and Monad Transformers

Title: Type Constructor Classes and Monad Transformers
Author: Brian Huffman (huffman /at/ in /dot/ tum /dot/ de)
Submission date: 2012-06-26
Abstract: These theories contain a formalization of first class type constructors and axiomatic constructor classes for HOLCF. This work is described in detail in the ICFP 2012 paper Formal Verification of Monad Transformers by the author. The formalization is a revised and updated version of earlier joint work with Matthews and White.

Based on the hierarchy of type classes in Haskell, we define classes for functors, monads, monad-plus, etc. Each one includes all the standard laws as axioms. We also provide a new user command, tycondef, for defining new type constructors in HOLCF. Using tycondef, we instantiate the type class hierarchy with various monads and monad transformers.

BibTeX:
@article{Tycon-AFP,
  author  = {Brian Huffman},
  title   = {Type Constructor Classes and Monad Transformers},
  journal = {Archive of Formal Proofs},
  month   = jun,
  year    = 2012,
  note    = {\url{http://afp.sf.net/entries/Tycon.shtml},
            Formal proof development},
  ISSN    = {2150-914x},
}
License: BSD License