Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] how to define a property list
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christoph Bauer <c_bauer@i...>
Subject: Re: [Caml-list] how to define a property list 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:

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.

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 Archives:
Bug reports: FAQ:
Beginner's list: