[commit: ghc] master: Remote GHCi: separate out message types (bdb0d24)

git at git.haskell.org git at git.haskell.org
Fri Jun 24 10:25:50 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/bdb0d24be9c83b08fd3f4b870a17f6be31a24b1b/ghc

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

commit bdb0d24be9c83b08fd3f4b870a17f6be31a24b1b
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Wed Jun 22 18:13:48 2016 +0100

    Remote GHCi: separate out message types
    
    Summary:
    From a suggestion by @goldfire: clean up the message types, so that
    rather than one Message type with all the messages, we have a separate
    THMessage type for messages sent back to GHC during TH execution.  At
    the same time I also removed the QDone/QFailed/QException messages
    into their own type, and made the result type of RunTH more accurate.
    
    Test Plan: validate
    
    Reviewers: goldfire, ezyang, austin, niteria, bgamari, erikd
    
    Subscribers: thomie, goldfire
    
    Differential Revision: https://phabricator.haskell.org/D2356


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

bdb0d24be9c83b08fd3f4b870a17f6be31a24b1b
 compiler/typecheck/TcSplice.hs |  30 ++++---
 iserv/src/Main.hs              |  12 +--
 libraries/ghci/GHCi/Message.hs | 173 ++++++++++++++++++++++++-----------------
 libraries/ghci/GHCi/TH.hs      |  10 +--
 4 files changed, 129 insertions(+), 96 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 bdb0d24be9c83b08fd3f4b870a17f6be31a24b1b


More information about the ghc-commits mailing list