GHCi grumbles (2)

Keith Wansbrough Keith.Wansbrough@cl.cam.ac.uk
Wed, 15 Aug 2001 17:55:03 +0100


> > It would also be nice if ghci allowed you to continue onto a 
> > new line.  Otherwise
> > writing long complicated :def scripts is tiresome . . .
> 
> It's hard to do, unless you adopt a policy such as ending the current
> input with ';', which doesn't seem terribly attractive.  The right way
> to do it is for the parser to be incremental and interact with readline,
> but I can't see an easy way to do that.

A hackish way would be to allow to escape the newline with a
backslash,  la shell scripts...

--KW 8-)