Partial fix for Trac #4136
authorsimonpj@microsoft.com <unknown>
Wed, 7 Jul 2010 13:57:25 +0000 (13:57 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 7 Jul 2010 13:57:25 +0000 (13:57 +0000)
commitccc7548348fa0d5a10e4c795c5edc13d0dd3f014
tree1a0fa9c49f6a4707684ae879e9eaf68428689820
parent51a09cb97ac4404d327c821d1c9480ad6c49e65f
Partial fix for Trac #4136

In 'choose' (which is a library function designed specifically
to support derived instances of Read), we must match Symbol
as well as Ident, for nullary constructors that (wierdly) are
symbols.
GHC/Read.lhs