Define pattern synonyms only for GHC >=8
authorDavid Feuer <David.Feuer@gmail.com>
Thu, 14 Jul 2016 02:24:05 +0000 (22:24 -0400)
committerDavid Feuer <David.Feuer@gmail.com>
Thu, 14 Jul 2016 02:29:02 +0000 (22:29 -0400)
commit98cb19f263aa0a064fb67161ef7f19039c28ae59
treead2791a4c1a9f6bf3eb16b4d762537cb14d9c08d
parent1b0cd4b4572e741db8f46502d1cdf247b7d5aa3e
Define pattern synonyms only for GHC >=8

The CPP required to support pattern synonyms with earlier GHC
versions produces too much clutter. It's bad enough having to
deal with exports with and without testing and with and without
pattern synonyms. Having two different export mechanisms goes too
far. If users demand support very strenuously, we can put some of
it back. Until then, I don't want to commit to supporting it
indefinitely.

Fixes #297
Data/Sequence.hs