Support pattern synonyms in GHCi (fixes #9900)

Authored by cactus.

Description

Support pattern synonyms in GHCi (fixes Trac #9900)

This involves recognizing lines starting with "pattern " as declarations,
keeping non-exported pattern synonyms in deSugar, and including
pattern synonyms in the result of hscDeclsWithLocation.

(cherry picked from commit 0cc0cc8688ddb53db65a73d7d562e9564cfad22b)

Details

Committed
hvrJan 9 2015, 8:35 AM
Parents
rGHCee20cbf547e8: Fix system linker on Mac OS X
Branches
Unknown
Tags
Unknown