Jump to content

Deepcopy: Difference between revisions

m
(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, whichand useit is not recommanded to use it.
 
<lang ocaml>let rec copy t =
Cookies help us deliver our services. By using our services, you agree to our use of cookies.