ghci: Refactor handling of :show
authorBen Gamari <bgamari.foss@gmail.com>
Sun, 29 Nov 2015 21:49:04 +0000 (22:49 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sun, 29 Nov 2015 21:49:16 +0000 (22:49 +0100)
commitf101a822966c52e96438db52c5fff2c7384f0c4c
tree427324dd8d85a75d6112b53b77bb85adffb14ef5
parent589721318f0f545de33e306d0358bfc2ea738237
ghci: Refactor handling of :show

In so doing ensure that the help text can't fall out of sync with the
implementation.

Test Plan: Validate and play in ghci

Reviewers: austin, thomie

Reviewed By: austin, thomie

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1538

GHC Trac Issues: #11111
ghc/InteractiveUI.hs