Skip to content

Introduce DebuggeeAction-monad#30

Open
obreitwi wants to merge 1 commit intobgamari:masterfrom
obreitwi:pr/DebuggeeAction
Open

Introduce DebuggeeAction-monad#30
obreitwi wants to merge 1 commit intobgamari:masterfrom
obreitwi:pr/DebuggeeAction

Conversation

@obreitwi
Copy link
Copy Markdown
Contributor

@obreitwi obreitwi commented Sep 8, 2019

  • Introduce DebuggeeAction as alias for StateT Debugee IO
    → Get rid of Debuggee being passed explicitly into IO actions, turning function signatures like
    (Debuggee -> ... -> IO a)
    into
    (... -> DebuggeeAction a)

  • This is done in order to track state in Debuggee in the future.

  • Introduce a lot of liftIO :(

* Introduce DebuggeeAction as alias for StateT Debugee IO
  -> Get rid of Debuggee being passed explicitly into IO actions,
  turning function signatures like
      (Debuggee -> ... -> IO a)
  into
      (... -> DebuggeeAction a)

* This is done in order to track state in Debuggee in the future.

* Introduce a lot of liftIO :(
@DavidEichmann
Copy link
Copy Markdown
Contributor

@obreitwi Thanks for submitting this (and #33). I've been working on the GHC side of things for the past month, but I will get around to reviewing this soon. Also not that the the official repo has now moved to https://gitlab.haskell.org/ghc/ghc-debug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants