value x
This function attempts to convert x to its corresponding Macaulay2 equivalent.
|
|
Since the type of x is not initially known, a sequence of hooks are used to determine its type and then convert it.
|
If no conversion can be done, then x is returned.
|
|
Users may add additional hooks using addHook or the convenience function addPyToM2Function.