Anonymous user
Deepcopy: Difference between revisions
m
→{{header|OCaml}}
(added ocaml) |
|||
Line 331:
=={{header|OCaml}}==
This code is just provided in order to achieve this task, but an OCaml programmer wouldn't use this kind of code, because this <code>copy</code> function is made generic due to the use of the [http://caml.inria.fr/pub/docs/manual-ocaml/libref/Obj.html <code>Obj</code>] module,
<lang ocaml>let rec copy t =
|