diff options
author | Chaitanya Koparkar <ckoparkar@gmail.com> | 2018-08-27 14:07:08 +0200 |
---|---|---|
committer | Krzysztof Gogolewski <krz.gogolewski@gmail.com> | 2018-08-27 14:07:08 +0200 |
commit | 2d953a60489ba30433e5f2fe27c50aa9da75f802 (patch) | |
tree | 13c01c51de369cd603bb1fb42f2775f81da36ad8 /nofib | |
parent | 6e765aebbe0a565f2476b522a49faf8edb9a93ee (diff) | |
download | haskell-2d953a60489ba30433e5f2fe27c50aa9da75f802.tar.gz |
Fix #10859 by using foldr1 while deriving Eq instances
Summary:
Previously, we were using foldl1 instead, which led to the derived
code to be wrongly associated.
Test Plan: ./validate
Reviewers: RyanGlScott, nomeata, simonpj, bgamari
Reviewed By: RyanGlScott, nomeata
Subscribers: rwbarton, carter
GHC Trac Issues: #10859
Differential Revision: https://phabricator.haskell.org/D5104
Diffstat (limited to 'nofib')
0 files changed, 0 insertions, 0 deletions