• Rik Steenkamp's avatar
    Improve printing of pattern synonym types · 72bd7f7b
    Rik Steenkamp authored
    Add the function `pprPatSynType :: PatSyn -> SDoc` for printing pattern
    synonym types, and remove the ambiguous `patSynType` function. Also,
    the types in a `PatSyn` are now tidy.
    Haddock submodule updated to reflect the removal of `patSynType` by
    Fixes: #11213.
    Reviewers: goldfire, simonpj, austin, mpickering, bgamari
    Reviewed By: simonpj, mpickering
    Subscribers: bollmann, simonpj, thomie
    Differential Revision: https://phabricator.haskell.org/D1896
    GHC Trac Issues: #11213
TcPatSyn.hs 41.1 KB