[polyml] funny error: not a type construction