Add compatibility with GHC 8.2.2

Merged Jan-Hendrik Matthes requested to merge stu113804/currygle:fix-ghc8 into master

This MR adds compatibility with GHC 8.2.2.

Edited by Jan-Hendrik Matthes

Merge request reports