[GHC] #4316: Interactive "do" notation in GHCi (was: Multiline commands in GHCi)
GHC
cvs-ghc at haskell.org
Thu Jan 6 12:49:18 CET 2011
#4316: Interactive "do" notation in GHCi
------------------------------+---------------------------------------------
Reporter: mitar | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 7.2.1
Component: GHCi | Version: 6.12.3
Resolution: | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
------------------------------+---------------------------------------------
Changes (by simonmar):
* owner: vivian =>
* status: patch => new
Comment:
Patches pushed, thanks for the contribution!
{{{
Thu Nov 4 22:13:08 PDT 2010 Vivian McPhail
<haskell.vivian.mcphail at gmail.com>
* multiline commands in GHCi #4316
This patch adds support for multiline commands in GHCi.
The first line of input is lexed. If there is an active
layout context once the lexer reaches the end of file, the
user is prompted for more input.
Multiline input is exited by an empty line and can be escaped
with a user interrupt.
Multiline mode is toggled with `:set +m`
Wed Jan 5 07:45:48 PST 2011 Simon Marlow <marlowsd at gmail.com>
* fix up multi-line GHCi patch (#4316)
Thu Jan 6 01:31:52 PST 2011 Simon Marlow <marlowsd at gmail.com>
* fix markup
}}}
Leaving the ticket open, and changing the summary back to what it was
previously.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4316#comment:35>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list