check-ppr: Add a --dump flag to aid in debugging
authorBen Gamari <ben@smart-cactus.org>
Wed, 14 Dec 2016 22:09:02 +0000 (17:09 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 15 Dec 2016 15:42:25 +0000 (10:42 -0500)
commit5c76f834b5b7f2ee9712d0888a8b1b186b77dee5
tree688e5c1dfeeae9e901d0151c79e0934a0428014a
parent2940a61722b5e5b35421b385dedf07f82c63557d
check-ppr: Add a --dump flag to aid in debugging

Currently tracking down where two ASTs disagree is quite difficult. Add a --dump
flag to check-ppr which dumps the respective ASTs to files, which can then be
easily compared with diff, etc.
utils/check-ppr/Main.hs
utils/check-ppr/README