Module Oo

module Oo: sig .. end

Operations on objects


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

val id : < .. > -> int

Return an integer identifying this object, unique for the current execution of the program.