• niteria's avatar
    Add uniqSetAny and uniqSetAll and use them · 3c426b05
    niteria authored
    There are couple of places where we do `foldUniqSet` just to
    compute `any` or `all`. `foldUniqSet` is non-deterministic in the
    general case and `any` and `all` also read nicer.
    Test Plan: ./validate
    Reviewers: simonmar, goldfire, simonpj, bgamari, austin
    Reviewed By: simonpj
    Subscribers: thomie
    Differential Revision: https://phabricator.haskell.org/D2156
    GHC Trac Issues: #4012
UniqFM.hs 13.6 KB