Improve documentation of syntax for promoted lists
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 15 Dec 2014 17:08:29 +0000 (17:08 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 15 Dec 2014 17:08:59 +0000 (17:08 +0000)
commita972bddfc8115d80d774383a55202a293dc68595
treec43ec2c0f424cbc0731ad853a93f080ffc4133d7
parent3f87866ad536d1c20fa477aa124fe1267fb36a43
Improve documentation of syntax for promoted lists

THe documentation in 7.9.4 of promoted list and tuple types was
misleading, which led to Trac #9882.  This patch makes explicit
that only type-level with two or more elements can have the
quote omitted.
compiler/parser/Parser.y
docs/users_guide/glasgow_exts.xml