Browse thread
[Caml-list] how to define a property list
-
Christoph Bauer
-
Alain.Frisch@e...
- Christoph Bauer
- Richard Jones
-
Alain.Frisch@e...
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 |
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