diff options
author | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2019-04-19 00:36:00 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-04-19 23:44:24 -0400 |
commit | e7280c93ef8f0685bbd63552b5b72c029907687e (patch) | |
tree | 8cfb6c517019727a5c79359ead434545e8252263 /testsuite/tests/haddock | |
parent | fcef26b62569428d47e96fcd8946a733540783ab (diff) | |
download | haskell-e7280c93ef8f0685bbd63552b5b72c029907687e.tar.gz |
Tagless final encoding of ExpCmdI in the parser
Before this change, we used a roundabout encoding:
1. a GADT (ExpCmdG)
2. a class to pass it around (ExpCmdI)
3. helpers to match on it (ecHsApp, ecHsIf, ecHsCase, ...)
It is more straightforward to turn these helpers into class methods,
removing the need for a GADT.
Diffstat (limited to 'testsuite/tests/haddock')
0 files changed, 0 insertions, 0 deletions