summaryrefslogtreecommitdiff
path: root/compiler/rename/RnEnv.hs
diff options
context:
space:
mode:
authorPhilipp Krüger <matheus.dev@gmail.com>2019-11-21 12:33:07 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-11-28 02:54:05 -0500
commit5f84b52a9c439ae2739bf1899a2adbae9c6d4f67 (patch)
tree5976935b88e084e5d1e6f92164c3b160f8c96b12 /compiler/rename/RnEnv.hs
parente122ba33e8426a7b7f18216c451f6288e90c966e (diff)
downloadhaskell-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 'compiler/rename/RnEnv.hs')
0 files changed, 0 insertions, 0 deletions