From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 9A03FBC6B for ; Wed, 15 Aug 2007 01:10:04 +0200 (CEST) Received: from fiton.bononia.it (fiton.bononia.it [130.186.88.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l7ENA3UZ007814 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 15 Aug 2007 01:10:04 +0200 Received: from aquarium.takhisis.invalid (fiton.bononia.it [130.186.88.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Stefano Zacchiroli", Issuer "sockmel.bononia.it" (verified OK)) by fiton.bononia.it (Postfix) with ESMTP id D1E6D381B7 for ; Wed, 15 Aug 2007 01:09:54 +0200 (CEST) Received: by aquarium.takhisis.invalid (Postfix, from userid 1000) id 73899D47A3; Wed, 15 Aug 2007 01:09:39 +0200 (CEST) Date: Wed, 15 Aug 2007 01:09:40 +0200 From: Stefano Zacchiroli To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Weak hash table for attaching extra data to an object Message-ID: <20070814230940.GB11589@takhisis.invalid> References: <20070814101535.GA14485@furbychan.cocan.org> <46C18D1B.2070303@functionality.de> <200708142144.15414.jon@ffconsultancy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200708142144.15414.jon@ffconsultancy.com> User-Agent: Mutt/1.5.16 (2007-06-11) X-Miltered: at concorde with ID 46C2364B.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; zacchiroli:01 zack:01 hash:01 0100,:01 expr:01 afaict:01 iow:01 zacchiroli:01 zack:01 unibo:01 wrote:01 caml-list:01 precisely:01 data:02 data:02 On Tue, Aug 14, 2007 at 09:44:15PM +0100, Jon Harrop wrote: > I think this is an important design choice that people should be aware of when > they first write the code. If you think the product types inside your expr Richard's point was precisely about *not* being able to change such a design choice. There can be a lot of reasons for that, for example (even though this was not Richard's situation AFAICT) not being the author of the data structure you want to decorate. IOW: the original question is still valid. -- Stefano Zacchiroli -*- PhD in Computer Science ............... now what? zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/ (15:56:48) Zack: e la demo dema ? /\ All one has to do is hit the (15:57:15) Bac: no, la demo scema \/ right keys at the right time