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

Re: Common interval literals



Vincent

On 19 Mar 2015, at 17:30, Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
> The problem is that this can easily be confused with the validity of
> a string in the language, for instance whether a string has invalid
> UTF-8 sequences or not. This difference can matter concerning the
> exceptions InvalidOperand and UndefinedOperation. This should be
> clarified.
> 
> Moreover the use of "valid" is no longer consistent:
>  * Page 29 line 24: "shall be valid interval literals"
>    ("valid" can now be removed).
>  * Page 31 line 6: "a valid string is one that after conversion [...]"
>    but the context is unclear. This sentence could be rephrased
>    without using "valid", so that...
> 
> I wonder whether the notion of validity in a context should be
> removed. For instance, one can say "an interval literal" for a
> valid string in an interval literal context.

AFAICS you are right. I have now removed this use of "valid" entirely, I believe.

John Pryce