ghc-tcplugin-api
ghc-tcplugin-api copied to clipboard
Export a function to deal with flattening variables in a compatible way
On GHC 9.0 and below we need to be able to handle flattening variables. classifyPredType gets us most of the way, but it'd nice to be able to directly extract out equalities involving type variables.