[Haskell-cafe] GHC API: type class instance check