compatibility with newer ghc/haskell-src-exts