Comprehensive comprehensions

Simon L. Peyton Jones, Philip Wadler

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract / Description of output

We propose an extension to list comprehensions that makes it easy to express the kind of queries one would write in SQL using ORDER BY, GROUP BY, and LIMIT. Our extension adds expressive power to comprehensions, and generalises the SQL constructs that inspired it. It is easy to implement, using simple desugaring rules.
Original languageEnglish
Title of host publicationProceedings of the ACM SIGPLAN Workshop on Haskell, Haskell 2007, Freiburg, Germany, September 30, 2007
Pages61-72
Number of pages12
DOIs
Publication statusPublished - 2007

Fingerprint

Dive into the research topics of 'Comprehensive comprehensions'. Together they form a unique fingerprint.

Cite this