compatibility with haskell-src-exts commit 1a99f0e8c8e9513ac2d07c9eae2ffd6122513fe9