[m-rev.] Add a listing facility to mdb

Ralph Becket rafe at cs.mu.OZ.AU
Sun Oct 23 10:58:05 AEST 2005


Ian MacLarty, Saturday, 22 October 2005:
> All the code in the browser directory is not traced, even in debug grades,
> so that shouldn't be a problem.

Hmm, that's odd.  I don't understand why I saw this problem then.

> > +:- pragma foreign_type("C", c_file_ptr, "FILE *", [can_pass_as_mercury_type]).
> 
> There's no need to define a new type, you can use io.output_stream.

There is: a Mercury IO stream is not the same as a FILE *, which is what
MR_mdb_{out,err} are.

Cheers,
-- Ralph
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list