[commit: ghc] wip/strictify-catches: Try strictifying catches (16f03f1)

git at git.haskell.org git at git.haskell.org
Thu Mar 9 22:41:42 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/strictify-catches
Link       : http://ghc.haskell.org/trac/ghc/changeset/16f03f1c83de3c7e70cb62a0d95abc0488dd32a1/ghc

>---------------------------------------------------------------

commit 16f03f1c83de3c7e70cb62a0d95abc0488dd32a1
Author: David Feuer <David.Feuer at gmail.com>
Date:   Thu Mar 9 15:50:36 2017 -0500

    Try strictifying catches
    
    * Make `catchException` and `catchAny` lazy like they probably
    should be.
    
    * Manually strictify some things surrounding `catch` in the
    libraries.


>---------------------------------------------------------------

16f03f1c83de3c7e70cb62a0d95abc0488dd32a1
 libraries/base/Control/Concurrent.hs      |  4 ++--
 libraries/base/GHC/Conc/Sync.hs           |  8 --------
 libraries/base/GHC/IO.hs                  | 29 +++++------------------------
 libraries/base/GHC/IO/Handle/FD.hs        |  6 +++---
 libraries/base/GHC/IO/Handle/Internals.hs |  5 ++---
 libraries/base/GHC/IO/Handle/Text.hs      |  7 +++----
 libraries/base/GHC/TopHandler.hs          |  4 ++--
 7 files changed, 17 insertions(+), 46 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 16f03f1c83de3c7e70cb62a0d95abc0488dd32a1


More information about the ghc-commits mailing list