diff options
author | Philipp Krüger <matheus.dev@gmail.com> | 2019-11-21 12:33:07 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-11-28 02:54:05 -0500 |
commit | 5f84b52a9c439ae2739bf1899a2adbae9c6d4f67 (patch) | |
tree | 5976935b88e084e5d1e6f92164c3b160f8c96b12 /mk | |
parent | e122ba33e8426a7b7f18216c451f6288e90c966e (diff) | |
download | haskell-5f84b52a9c439ae2739bf1899a2adbae9c6d4f67.tar.gz |
Reduce boolean blindness in OccInfo(OneOcc) #17482
* Transformed the type aliases `InterestingCxt`, `InsideLam` and `OneBranch`
into data types.
* Added Semigroup and Monoid instances for use in orOccInfo in OccurAnal.hs
* Simplified some usage sites by using pattern matching instead of boolean algebra.
Metric Increase:
T12150
This increase was on a Mac-build of exactly 1%. This commit does *not* re-intruduce
the asymptotic memory usage described in T12150.
Diffstat (limited to 'mk')
0 files changed, 0 insertions, 0 deletions