[polyml] Accessing a representation of types