Skip to content
  • Simon Marlow's avatar
    Remote GHCi: separate out message types · bdb0d24b
    Simon Marlow authored
    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
    bdb0d24b