From f1779d1350e7f30c446e51f3d33355858533fe13 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Fri, 5 Jun 2009 14:00:09 +0000 Subject: [PATCH] Mention that generalised list comprehensions are enabled with -XTransformListComp --- docs/users_guide/flags.xml | 2 +- docs/users_guide/glasgow_exts.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml index 2cbe4fa..978ddf7 100644 --- a/docs/users_guide/flags.xml +++ b/docs/users_guide/flags.xml @@ -856,7 +856,7 @@ - Enable transform list comprehensions. + Enable generalised list comprehensions. dynamic diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml index ca08f58..a08ace9 100644 --- a/docs/users_guide/glasgow_exts.xml +++ b/docs/users_guide/glasgow_exts.xml @@ -1008,6 +1008,7 @@ This name is not supported by GHC. paper Comprehensive comprehensions: comprehensions with "order by" and "group by", except that the syntax we use differs slightly from the paper. +The extension is enabled with the flag . Here is an example: employees = [ ("Simon", "MS", 80) -- 1.7.10.4