[m-rev.] diff: fix .module_dep files

Zoltan Somogyi zs at csse.unimelb.edu.au
Wed Jul 23 11:31:48 AEST 2008


On 22-Jul-2008, Paul Bone <pbone at csse.unimelb.edu.au> wrote:
> I have done this for the new feedback system that hasn't been committed
> yet.  It's not such a big problem because the only types that can affect
> the file format are either in mdbcomp/feedback.m or
> mdbcomp/program_representation.m

No, that is not the right fix. The right fix is what Peter did; adding
a predicate with two modes to do the conversion between the internal form
(the function symbol) and the external form (the string).

> I will put a comment in program_representation.m to instruct a programer
> that when modifing these types they should increment the version number
> in feedback.m.

It takes less effort to add and use the conversion predicate than to
write that comment.

Zoltan.
--------------------------------------------------------------------------
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