Closed mlandis closed 10 years ago
Commented by hoehna on 2014-01-22 11:45 UTC
Diff:
Commented by hoehna on 2014-01-22 11:45 UTC I have added back in the structure function as of the functionality in 2011. That is, it does not show the member variables and/or member functions but instead shows the variable structure (e.g. constant/deterministic/stochastic, distribution/function, value, [lnProb,] parents, children, etc. ). For members and member functions you can still use 'x.members()' and 'x.methods()'.
Reported by hoehna on 2013-11-11 09:51 UTC The 'structure' function is gone now (it was there in 2011) as far as I can tell. Imagine if a user could call 'structure' or 'struct' or 'str' on a member object to see the member variables and member functions with formal arguments. Extremely powerful. The 'type' function is still there and seems to produce sensible output. Also useful for beginners learning how to use the environment.