Closed andrew-johnson-4 closed 4 hours ago
I am sort of feeling like puns are best?
defines casts for
[:] : (x[], U64,U64) -> x[];
[:] : (x[], U64,I64) -> x[];
[:] : (x[], I64,U64) -> x[];
Connecting calls to casts in any general way is going to cause a lot of bugs. This is "too smart".
This is a modelling problem for quick prop, how can we do this.
What annotations or quick props need to be added to make this happen? Inferring I64 for all U64 would cause big problems. What is the right tradeoff between localization vs generalization of coercion.