Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: textToIntevsal(s) and exceptions



On 24 Mar 2015, at 07:05, Oliver Heimlich <oliver@xxxxxxxxxxxxxxxxxxx> wrote:
> There are valid points for either allowing implicit promotion or not. I believe we all agree that implicit demotion is bad. If we allow implicit promotion within the constructors, e.g. textToInterval("[1,2]") == [1, 2]_com for the decorated variant, it is consistent to allow it elsewhere too.

Code examples are beyond the scope of 1788, but yes, I agree with your conclusion. There is no perfect answer.

John Pryce