[Git][ghc/ghc][wip/abstract-q] Make Q abstract