[Git][ghc/ghc][master] task: Substitute some datatypes for newtypes