Don't use $ in the definition of (<**>) in GHC.Base
authorMatthew Pickering <matthewtpickering@gmail.com>
Tue, 3 Jan 2017 05:22:03 +0000 (00:22 -0500)
committerBen Gamari <ben@smart-cactus.org>
Tue, 3 Jan 2017 05:22:04 +0000 (00:22 -0500)
commit683ed475964bbd90030deb8f738370ae90b48a22
tree6d1fdbae891f50e1a3202232bb2ddd2b59d5315a
parent5800b02a1910a468485b272a2063377e8b06ee1d
Don't use $ in the definition of (<**>) in GHC.Base

($) is special as Richard explains in the note at the top of the page.

However, when adding the note he didn't remove this usage. Normally it
didn't cause any problems as the optimiser optimised it away. However if
one had the propensity to stick one's fingers into the depths of the
inliner, it caused horrible idInfo panics.

Reviewers: rwbarton, hvr, austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2913

GHC Trac Issues: #13055
libraries/base/GHC/Base.hs