
7 Dec
2005
7 Dec
'05
12:41 a.m.
On Tue, Dec 06, 2005 at 10:35:50AM +0000, Joel Reymont wrote:
Is there a good standard way of supplying a read-eval prompt in a program?
You might want to look at this module which is a program independent read-eval prompt that I use for jhci. it is completely independent of the rest of the compiler (like everything in the Util.* hierarchy) and depends only on ghc provided libraries. http://repetae.net/john/repos/jhc/Util/Interact.hs for an example of its use see http://repetae.net/john/repos/jhc/Interactive.hs John -- John Meacham - ⑆repetae.net⑆john⑈