[m-dev.] trivial diff: fix calculator.m bug

Thomas Conway conway at cs.mu.OZ.AU
Fri Oct 29 08:33:49 AEST 1999


On Thu, Oct 28, 1999 at 07:45:31PM EST, Fergus Henderson wrote:
> Estimated hours taken: 0.1
> 
> samples/calculator.m:
> 	Fix a bug in my previous change.
> 	Also change the program so that it prints a "calculator> " prompt.
> 
> Workspace: /home/mercury0/fjh/mercury
> Index: samples/calculator.m
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/samples/calculator.m,v
> retrieving revision 1.6
> diff -u -d -r1.6 calculator.m
> --- calculator.m	1999/10/26 14:14:18	1.6
> +++ calculator.m	1999/10/28 09:43:09
> @@ -24,6 +24,7 @@
>  	;       div(expr, expr).
>  
>  main --> 
> +	io__write_string("calculator> "),

Should that have a call to io__flush_output?

Thomas
-- 
 Thomas Conway )O+     Every sword has two edges.
     Mercurian            <conway at cs.mu.oz.au>
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list