[commit: ghc] master: Merge new commands from ghci-ng (re #10874) (dd56eb1)

git at git.haskell.org git at git.haskell.org
Sun Dec 20 11:46:53 UTC 2015


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

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

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

commit dd56eb1efc11bcbd60ab0b77ca3e4f949d7d0844
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sun Dec 20 11:50:59 2015 +0100

    Merge new commands from ghci-ng (re #10874)
    
    This adds the new commands `:all-types`, `:loc-at`, `:type-at`, and
    `:uses` designed for editor-integration (such as Emacs' `haskell-mode`).
    
    This was originally implemented by Chris Done on
    
      https://github.com/chrisdone/ghci-ng
    
    and has been in use by Emacs' `haskell-mode` for over a year already,
    and closely missed the GHC 7.10 release back then.
    
    I've squashed the commits, rebased to GHC HEAD, and heavily refactored and
    improved the patch.
    
    Tests will be added in a separate commit.
    
    Reviewed By: bgamari
    
    Differential Revision: https://phabricator.haskell.org/D1240


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

dd56eb1efc11bcbd60ab0b77ca3e4f949d7d0844
 docs/users_guide/7.12.1-notes.rst |   5 +
 docs/users_guide/ghci.rst         |  80 +++++++++
 ghc/GhciInfo.hs                   | 366 ++++++++++++++++++++++++++++++++++++++
 ghc/GhciMonad.hs                  |  19 ++
 ghc/InteractiveUI.hs              | 233 +++++++++++++++++++++---
 ghc/ghc-bin.cabal.in              |  21 ++-
 6 files changed, 692 insertions(+), 32 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 dd56eb1efc11bcbd60ab0b77ca3e4f949d7d0844


More information about the ghc-commits mailing list