Currently _CryptolModule.typeof returns the pretty-printed type of the expression as a string. This is not amenable to programmatic manipulation. We should define some sort of consistent representation of Cryptol types on the Python side. This could be incremental:
monomorphic types
unconstrained polymorphic types
all types
Perhaps with some representation of type synonyms and newtypes as well, though the utility of these on the Python side is questionable.
Currently
_CryptolModule.typeof
returns the pretty-printed type of the expression as a string. This is not amenable to programmatic manipulation. We should define some sort of consistent representation of Cryptol types on the Python side. This could be incremental:Perhaps with some representation of type synonyms and newtypes as well, though the utility of these on the Python side is questionable.