From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 3CEB7BDDB for ; Sat, 3 Sep 2005 16:51:42 +0200 (CEST) Received: from mail.enyo.de (mail.enyo.de [212.9.189.167]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j83EpfBU010623 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sat, 3 Sep 2005 16:51:42 +0200 Received: from deneb.vpn.enyo.de ([212.9.189.177] helo=deneb.enyo.de) by albireo.enyo.de with esmtp id 1EBZMq-00026j-Uv; Sat, 03 Sep 2005 16:51:41 +0200 Received: from fw by deneb.enyo.de with local (Exim 4.52) id 1EBZMH-00005X-0r; Sat, 03 Sep 2005 16:51:05 +0200 From: Florian Weimer To: yoann padioleau Cc: caml-list@yquem.inria.fr, Damien Bobillot Subject: Re: [Caml-list] Unsafe features References: <87slwny8xs.fsf@mid.deneb.enyo.de> <2D13837B-0BDC-4E14-86DE-ADCCE2E3BC78@m4x.org> <87y86elcb2.fsf@mid.deneb.enyo.de> <87slwmjkdx.fsf@mid.deneb.enyo.de> <87k6hyjjht.fsf@mid.deneb.enyo.de> Date: Sat, 03 Sep 2005 16:51:05 +0200 In-Reply-To: <87k6hyjjht.fsf@mid.deneb.enyo.de> (Florian Weimer's message of "Sat, 03 Sep 2005 16:47:42 +0200") Message-ID: <87ek86jjc6.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at nez-perce with ID 4319B87D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; florian:01 caml-list:01 florian:01 typing:01 define:01 unsafe:01 guess:02 external:02 meant:05 probably:05 cast:07 function:08 object:09 object:09 magic:10 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 * 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. We're probably in violent agreement.