[commit: ghc] wip/T16197: Introduce ghci command wrapper (6a7a6b8)
git at git.haskell.org
git at git.haskell.org
Thu Jan 17 13:58:30 UTC 2019
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T16197
Link : http://ghc.haskell.org/trac/ghc/changeset/6a7a6b865bdb637a3ab69b9bccc390b85c147878/ghc
>---------------------------------------------------------------
commit 6a7a6b865bdb637a3ab69b9bccc390b85c147878
Author: Zejun Wu <watashi at fb.com>
Date: Sat Dec 29 12:28:47 2018 -0800
Introduce ghci command wrapper
Introduce ghci command wrapper, which can be used to cutomize ghci:
* process additionals actions before/after the command
* handle particular exceptions in given ways
* logging stats
We also split the timing and printing part of `timeIt` into different
functions.
>---------------------------------------------------------------
6a7a6b865bdb637a3ab69b9bccc390b85c147878
ghc/GHCi/UI.hs | 36 +++++++++++++++-----------
ghc/GHCi/UI/Monad.hs | 73 +++++++++++++++++++++++++++++++++++++++-------------
2 files changed, 76 insertions(+), 33 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 6a7a6b865bdb637a3ab69b9bccc390b85c147878
More information about the ghc-commits
mailing list