Do there exist anonymous objects, in the same way anonymous functions exist?

For example, I'd like to return a object "A", without going through the 
hoops of making an explicit type, which you can do

function createMatrix()
  # create an anonymous object A
  return A
end

A = createMatrix()
A*x
A\x

etc.

Gabe

Reply via email to