[m-rev.] for reviews: file streams as typeclasss instances

Ian MacLarty maclarty at csse.unimelb.edu.au
Wed Oct 4 15:30:35 AEST 2006


On Tue, Oct 03, 2006 at 04:24:06PM +1000, Julien Fischer wrote:
> For review by Ian.
> 
...
> This change is complicated by the fact that the io module interacts
> with both the runtime and the debugger via the C interface.  In order to
> preserve the existing C interface that the io module presents to the runtime
> (the alternative being to more or less to change all the types of the

delete the second "to"

...
> runtime/mercury_library_types.h:
> 	Add macros to wrap (and in once case unwrap) file stream types

s/once/one/

...
> Index: library/io.m
> ===================================================================
> 
> +    % The following typeclass and instances are required for the
> +    % deprecated predicates io.seek_binary/5 io.binary_stream_offset/4 to 
> work.
> +    % They will deleted when those predicate are.

They will *be* deleted...

Otherwise that looks fabulous.

Ian.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list