1Oo(3) OCaml library Oo(3)
2
3
4
6 Oo - Operations on objects
7
9 Module Oo
10
12 Module Oo
13 : sig end
14
15
16 Operations on objects
17
18
19
20
21
22
23
24 val copy : (< .. > as 'a) -> 'a
25
26
27 Oo.copy o returns a copy of object o , that is a fresh object with the
28 same methods and instance variables as o
29
30
31
32
33
34 val id : < .. > -> int
35
36 Return an integer identifying this object, unique for the current exe‐
37 cution of the program.
38
39
40
41
42
43
44OCamldoc 2017-03-22 Oo(3)