caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: yoann padioleau <padator@wanadoo.fr>
To: Florian Weimer <fw@deneb.enyo.de>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Unsafe features
Date: Sat, 3 Sep 2005 16:55:07 +0200	[thread overview]
Message-ID: <C2CBCAEB-74E1-41C4-A145-7D965D5A44A4@wanadoo.fr> (raw)
In-Reply-To: <87ek86jjc6.fsf@mid.deneb.enyo.de>


On 3 sept. 05, at 16:51, Florian Weimer wrote:

> * Florian Weimer:
>
>
>> * yoann padioleau:
>>
>>
>>>>> Are you sure ? I thought it was just a function to get rid  
>>>>> temporary
>>>>> of the typing system, a kind of cast operator.
>>>>>
>>>>>
>>>>
>>>> It is, but how would you define such a operator?
>>>>
>>>
>>> obj.ml contains:
>>>   external magic: 'a -> 'b = "%identity"
>>>
>>> So I guess there is no bit-wise copy involved.
>>>
>>
>> Ahem, "%identity" means just that, I think.
>>
>
> I should add that I meant a copy of the reference to the object, not
> the object itself.

Ok.
I assumed that when one talks about bit-wise copy it means   
implicitly a bit-wise deep copy,
that is a copy, no sharing.
In Obj.magic there is some sharing, so no copy.
Maybe I am wrong.


> We're probably in violent agreement.
>

I am not very good in english  but I guess we were in violent  
disagreement instead  :)

>



  reply	other threads:[~2005-09-03 15:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-02 12:02 Florian Weimer
2005-09-03  9:24 ` [Caml-list] " Damien Bobillot
2005-09-03  9:40   ` Florian Weimer
2005-09-03 11:19     ` Jon Harrop
2005-09-03 12:07     ` yoann padioleau
2005-09-03 14:28       ` Florian Weimer
2005-09-03 14:35         ` yoann padioleau
2005-09-03 14:47           ` Florian Weimer
2005-09-03 14:51             ` Florian Weimer
2005-09-03 14:55               ` yoann padioleau [this message]
2005-09-04  1:58         ` Jacques Garrigue
2005-09-03  9:29 ` Erik de Castro Lopo
2005-11-29 18:46 ` Integral solutions of rational linear equations Thomas Gazagnaire
2005-11-30  8:32   ` [Caml-list] " Sebastian Egner
2005-11-30  8:49   ` Christophe Raffalli
2005-11-30  9:06     ` Christophe Raffalli
2005-11-30  9:08     ` Christophe Raffalli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C2CBCAEB-74E1-41C4-A145-7D965D5A44A4@wanadoo.fr \
    --to=padator@wanadoo.fr \
    --cc=caml-list@yquem.inria.fr \
    --cc=fw@deneb.enyo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).