FW: setarg

From: josh singer <josh.singer_at_parc-technologies.com>
Date: Mon 29 Jul 2002 06:19:39 PM GMT
Message-ID: <3E899FAFBF56D611B6A500508B9A9DA203E5F4@LON-SRV2>
Stefano had some good ideas about this one...

josh

Developer, Parc Technologies Limited
josh.singer@parc-technologies.com
http://www.parc-technologies.com

This e-mail message is for the sole use of the intended recipient(s)
-its contents are the property of Parc Technologies Limited (or its
licensors) and are confidential. Please do not copy, review, use
(except for the intended purposes), disclose or distribute the e-mail
or its contents (or allow anyone else to do so) without our prior
permission. Parc Technologies Limited does not guarantee that this
e-mail has not been intercepted and amended nor that it is
virus-free. You should carry out your own virus checks before opening
any attachment.  Any opinions expressed in this e-mail message are
those of the author and not necessarily Parc Technologies Limited.


-----Original Message-----
From: Stefano Novello 
Sent: Monday, July 29, 2002 6:50 PM
To: kish shen; warwick harvey
Cc: josh singer
Subject: setarg


This seems to be a bug in the metacall implementation of do/2.

The tricky thing is that do/2 is compiled away even when called on the
command line, so it only shows if
you do something like call( do ).

It seems that param arguments are being term copied from iteration to
iteration, so if you are
modifying these, all you get is copies of the unmodified original.

Now if the structure is ground term copy is optimised not to do a copy so
the program is not affected in that case.

2nd Floor The Tower Building	EMAIL: Stefano.Novello@parc-technologies.com
11 York Road                      TEL: +44 (0)20 72614068
SE1 7NX LONDON                    

This e-mail message is for the sole use of the intended recipient(s) - its
contents are the property of Parc Technologies Limited (or its licensors)
and are confidential. Please do not copy, review, use (except for the
intended purposes), disclose or distribute the e-mail or its contents or
allow anyone else to do so without our prior permission. 
Parc Technologies Limited does not guarantee that this e-mail has not been
intercepted and amended nor that it is virus-free. You should carry out your
own virus checks before opening any attachment. Any opinions expressed in
this e-mail message are those of the author and not necessarily Parc
Technologies Limited.

 
Received on Mon Jul 29 19:23:04 2002

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:17 PM GMT GMT