kirancodes.me
To Proof Maintenance & Beyond!

Bringing back monad comprehensions

George Giorgidze, Torsten Grust, Nils Schweinsberg, Jeroen Weijers

Abstract

This paper is about a Glasgow Haskell Compiler (GHC) extension that generalises Haskell's list comprehension notation to monads. The monad comprehension notation implemented by the extension supports generator and filter clauses, as was the case in the Haskell 1.4 standard. In addition, the extension generalises the recently proposed parallel and SQL-like list comprehension notations to monads. The aforementioned generalisations are formally defined in this paper. The extension will be available in GHC 7.2.

Related papers