diff options
author | Roman Shatsov <roshats@gmail.com> | 2015-11-21 15:58:34 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-11-21 11:15:09 -0500 |
commit | b98ff3ccb14e36145404f075349c8689762a2913 (patch) | |
tree | 06eb4336d7637d5ecaa0bc68ae047eb524a3b03d /testsuite/tests/rts/T8124.hs | |
parent | 2325bd4e0fad0e5872556c5a78d1a6a1873e7201 (diff) | |
download | haskell-b98ff3ccb14e36145404f075349c8689762a2913.tar.gz |
Function definition in GHCi
This patch allows define and re-define functions in ghci. `let` is not
required anymore (but can be used).
Idea: If ghci input string can be parsed as statement then run it as
statement else run it as declaration.
Reviewers: mpickering, bgamari, austin
Reviewed By: mpickering, bgamari, austin
Subscribers: hvr, mpickering, dterei, thomie
Differential Revision: https://phabricator.haskell.org/D1299
GHC Trac Issues: #7253
Diffstat (limited to 'testsuite/tests/rts/T8124.hs')
0 files changed, 0 insertions, 0 deletions