I have created an immediate object in OCaml.
let x =
object (self)
val dataMember = 3
method aMethod = print_endline "Called a method"
end;;
As the object doesn't have a name (is it considered anonymous?), how can it be correctly represented in UML?
Thanks.