From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA32746; Fri, 23 Apr 2004 20:45:56 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA00007 for ; Fri, 23 Apr 2004 20:45:54 +0200 (MET DST) Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i3NIjsYM021834 for ; Fri, 23 Apr 2004 20:45:54 +0200 Received: from diebuntekuh.de (dialin-212-144-211-185.arcor-ip.net [212.144.211.185]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id 71322B8869E for ; Fri, 23 Apr 2004 20:45:53 +0200 (CEST) Received: by diebuntekuh.de (Postfix, from userid 500) id 8FDBE608EC0; Fri, 23 Apr 2004 20:51:55 +0200 (CEST) To: OCaml List Subject: Re: [Caml-list] how to define a property list References: From: Christoph Bauer Date: Fri, 23 Apr 2004 20:51:55 +0200 In-Reply-To: (Alain Frisch's message of "Fri, 23 Apr 2004 20:00:44 +0200 (MET DST)") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 bauer:01 bauer:01 alain:01 frisch:01 200105:01 atoms:01 3..:99 expr:01 .25:99 shifted:01 caml:01 writes:01 nodes:02 tree:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Alain.Frisch@ens.fr writes: > On Fri, 23 Apr 2004, Christoph Bauer wrote: > >> I want to create a tree. This tree should be a very simple accessible >> for algorithms and easy to understand. The nodes in the tree can have >> different properties of different types. > > Have a look at: > http://caml.inria.fr/archives/200105/msg00175.html Wow, supercool. But, btw, there are some missing prop := None in get_properties and the second version of put_properties. Just for the case that someone wants to get the same property of two different atoms. Regards, Christoph Bauer -- beginfig(1)u=3cm;draw fullcircle scaled 2u;x0=x1=y1=x2=y3=0;-y0=y2=x3=1u; filldraw z0..{left}z1{left}..z2{curl 1}..z3..z0..cycle;def t(expr p)=fullcircle scaled .25u shifted(0,p*u);enddef;unfill t(.5);fill t(-.5);endfig;bye ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners