• niteria's avatar
    Get rid of Traversable UniqFM and Foldable UniqFM · 7e28e47c
    niteria authored
    Both Traversable and Foldable can introduce non-determinism
    and because of typeclass overloading it's implicit and not
    obvious at the call site. This removes the instances, so that
    they can't accidentally be used.
    
    Test Plan: ./validate
    
    Reviewers: austin, goldfire, bgamari, simonmar, simonpj
    
    Reviewed By: simonpj
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2190
    
    GHC Trac Issues: #4012
    7e28e47c
UniqFM.hs 13.7 KB