function utility
ex 2.84: allows type coercion via raising in int/rational/real/complex hierarchy