[m-rev.] Version types for review
Fergus Henderson
fjh at cs.mu.OZ.AU
Sun Sep 5 07:53:30 AEST 2004
On 03-Sep-2004, Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> Julien Fischer, Friday, 3 September 2004:
> > Ralph Becket <rafe at cs.mu.OZ.AU> wrote:
> > > Do things need to pass in Java, .NET and with
> > > agc to go in the library? If so, I can sort those details out.
> >
> > I'm not sure about the agc here.
>
> Over to you, Fergus!
Does MR_agc_deep_copy work with these version types?
If so, that should be all that agc needs.
If not, these types won't work with agc.
Another related question to ask is whether copy/2 (i.e. MR_deep_copy)
works with these types. If not, it would cause problems if these
types are used with solutions/2 in `--gc none' grades.
> > It would be more consistent with the standard library if this function
> > were called to_list.
>
> I really don't like the idea of prefixing "type casts" with `to_'.
Personally, I think that the "to_" usually makes the code a little
more clear. So I prefer it with "to_".
--
Fergus Henderson | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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