summaryrefslogtreecommitdiff
path: root/compiler/utils/StringBuffer.hs
diff options
context:
space:
mode:
authorBartosz Nitka <niteria@gmail.com>2016-04-28 13:32:39 -0700
committerBartosz Nitka <niteria@gmail.com>2016-04-28 13:32:58 -0700
commit3c426b0552dffa82f1663f2eca19188afe247865 (patch)
tree32d68542a516fa67661a6ed285115b9d9d16f3d0 /compiler/utils/StringBuffer.hs
parentb0569e881f66c3e987bc1108ad771a706399f5ff (diff)
downloadhaskell-3c426b0552dffa82f1663f2eca19188afe247865.tar.gz
Add uniqSetAny and uniqSetAll and use them
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
Diffstat (limited to 'compiler/utils/StringBuffer.hs')
0 files changed, 0 insertions, 0 deletions