Fix strictness for catchSTM
authorDavid Feuer <david.feuer@gmail.com>
Wed, 8 Mar 2017 21:30:08 +0000 (16:30 -0500)
committerDavid Feuer <David.Feuer@gmail.com>
Wed, 8 Mar 2017 21:30:10 +0000 (16:30 -0500)
commit6a94b8bba999ce111a8195ab398291dce5bcef2d
treec59d36ba3cb4fee8c1e6a336830754dd6255eb58
parentfdb594ed3286088c1a46c95f29e277fcc60c0a01
Fix strictness for catchSTM

* Fix demand analysist for `catchSTM#`.

* Add more notes on demand analysis of `catch`-like functions.

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D3283
compiler/basicTypes/Demand.hs
compiler/prelude/primops.txt.pp