Retour de Oo.copy

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Jérôme Vouillon 1998-08-16 21:28:41 +00:00
parent 7f2a75dd3c
commit 7b57279b23
2 changed files with 4 additions and 2 deletions

View File

@ -55,7 +55,6 @@ Objective Caml 2.00:
- Module Arg: added option Rest.
- Module Filename: temp_file no longer loops if temp dir doesn't exist.
- Module List: added rev_append (tail-rec alternative to @).
- Oo.copy removed.
- Module Set: tell the truth about "elements" returning a sorted list;
added min_elt, max_elt, singleton.
- Module Sys: added Sys.time for simple measuring of CPU time.

View File

@ -13,6 +13,10 @@
(* Module [Oo]: object-oriented extension *)
val copy : < .. > as 'a -> 'a
(* [Oo.copy o] returns a copy of object [o], that is a fresh
object with the same methods and instance variables as [o] *)
(*--*)
(*** For system use only, not for the casual user *)
@ -46,7 +50,6 @@ val create_object: table -> obj
val run_initializers: obj -> table -> unit
val object_from_struct: class_info -> obj
val send: obj -> label -> t
val copy : < .. > as 'a -> 'a
(* Parameters *)
type params = {