package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Operations on objects

  • author Jerome Vouillon (Base module)
  • author David Teller (integration to Batteries)
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.

module Internal : sig ... end

Run-time support for objects and classes. All functions in this module are for system use only, not for the casual user.