On Friday, April 24, 2020 at 8:44:46 AM UTC-6, Michael Jones wrote:
>
> That feels clearer to me. Both concepts are now made explicit. The 
> language Pascal has ranges and a membership clause. ADA also embraced some 
> of it. We could imagine:
>
> a in 99..
> a in 99..123
>
> The β€œin” part feels important to me. 
>

Python's chained comparison operators are arguably more compatible with the 
existing Go syntax and semantics, though:

99 <= a <= 128

β€” Scott

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/2ee97826-38a2-4dec-8d94-73559020301d%40googlegroups.com.

Reply via email to